diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-12-23 14:27:52 +0900 |
---|---|---|
committer | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-12-23 14:27:52 +0900 |
commit | dc71f3518c95f8d9d306e8a4e53bc9bd2e9928e3 (patch) | |
tree | 54552f6ba6cec40e16cef5c22043d9f510087e00 /wiki/2016-10-miniperi | |
parent | bb506a3f4c5441ecb212874077ad8b1bf335c936 (diff) | |
parent | 05040a728026b28ce7c6183d2adfa80218b306cb (diff) |
Merge remote-tracking branch 'gitlab/wiki' into HEAD
Diffstat (limited to 'wiki/2016-10-miniperi')
36 files changed, 52 insertions, 0 deletions
diff --git a/wiki/2016-10-miniperi/20160712_renesascom-v3.pdf b/wiki/2016-10-miniperi/20160712_renesascom-v3.pdf Binary files differnew file mode 100644 index 0000000..1a1efd7 --- /dev/null +++ b/wiki/2016-10-miniperi/20160712_renesascom-v3.pdf diff --git a/wiki/2016-10-miniperi/bsp_patch_list_20160930.xlsx b/wiki/2016-10-miniperi/bsp_patch_list_20160930.xlsx Binary files differnew file mode 100644 index 0000000..1f44649 --- /dev/null +++ b/wiki/2016-10-miniperi/bsp_patch_list_20160930.xlsx diff --git a/wiki/2016-10-miniperi/out_0145.jpg b/wiki/2016-10-miniperi/out_0145.jpg Binary files differnew file mode 100644 index 0000000..60312e8 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0145.jpg diff --git a/wiki/2016-10-miniperi/out_0146.jpg b/wiki/2016-10-miniperi/out_0146.jpg Binary files differnew file mode 100644 index 0000000..41948fa --- /dev/null +++ b/wiki/2016-10-miniperi/out_0146.jpg diff --git a/wiki/2016-10-miniperi/out_0147.jpg b/wiki/2016-10-miniperi/out_0147.jpg Binary files differnew file mode 100644 index 0000000..0bf4bf7 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0147.jpg diff --git a/wiki/2016-10-miniperi/out_0152.jpg b/wiki/2016-10-miniperi/out_0152.jpg Binary files differnew file mode 100644 index 0000000..01f76c8 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0152.jpg diff --git a/wiki/2016-10-miniperi/out_0153.jpg b/wiki/2016-10-miniperi/out_0153.jpg Binary files differnew file mode 100644 index 0000000..acabf2c --- /dev/null +++ b/wiki/2016-10-miniperi/out_0153.jpg diff --git a/wiki/2016-10-miniperi/out_0154.jpg b/wiki/2016-10-miniperi/out_0154.jpg Binary files differnew file mode 100644 index 0000000..8d3674d --- /dev/null +++ b/wiki/2016-10-miniperi/out_0154.jpg diff --git a/wiki/2016-10-miniperi/out_0155.jpg b/wiki/2016-10-miniperi/out_0155.jpg Binary files differnew file mode 100644 index 0000000..520ca63 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0155.jpg diff --git a/wiki/2016-10-miniperi/out_0156.jpg b/wiki/2016-10-miniperi/out_0156.jpg Binary files differnew file mode 100644 index 0000000..63bc355 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0156.jpg diff --git a/wiki/2016-10-miniperi/out_0158.jpg b/wiki/2016-10-miniperi/out_0158.jpg Binary files differnew file mode 100644 index 0000000..f071d5f --- /dev/null +++ b/wiki/2016-10-miniperi/out_0158.jpg diff --git a/wiki/2016-10-miniperi/out_0160.jpg b/wiki/2016-10-miniperi/out_0160.jpg Binary files differnew file mode 100644 index 0000000..4bc1c90 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0160.jpg diff --git a/wiki/2016-10-miniperi/out_0161.jpg b/wiki/2016-10-miniperi/out_0161.jpg Binary files differnew file mode 100644 index 0000000..68ff096 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0161.jpg diff --git a/wiki/2016-10-miniperi/out_0162.jpg b/wiki/2016-10-miniperi/out_0162.jpg Binary files differnew file mode 100644 index 0000000..89692fc --- /dev/null +++ b/wiki/2016-10-miniperi/out_0162.jpg diff --git a/wiki/2016-10-miniperi/out_0163.jpg b/wiki/2016-10-miniperi/out_0163.jpg Binary files differnew file mode 100644 index 0000000..05ea99b --- /dev/null +++ b/wiki/2016-10-miniperi/out_0163.jpg diff --git a/wiki/2016-10-miniperi/out_0164.jpg b/wiki/2016-10-miniperi/out_0164.jpg Binary files differnew file mode 100644 index 0000000..975bbbf --- /dev/null +++ b/wiki/2016-10-miniperi/out_0164.jpg diff --git a/wiki/2016-10-miniperi/out_0167.jpg b/wiki/2016-10-miniperi/out_0167.jpg Binary files differnew file mode 100644 index 0000000..af229ea --- /dev/null +++ b/wiki/2016-10-miniperi/out_0167.jpg diff --git a/wiki/2016-10-miniperi/out_0170.jpg b/wiki/2016-10-miniperi/out_0170.jpg Binary files differnew file mode 100644 index 0000000..fe10407 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0170.jpg diff --git a/wiki/2016-10-miniperi/out_0171.jpg b/wiki/2016-10-miniperi/out_0171.jpg Binary files differnew file mode 100644 index 0000000..0feb7c4 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0171.jpg diff --git a/wiki/2016-10-miniperi/out_0172.jpg b/wiki/2016-10-miniperi/out_0172.jpg Binary files differnew file mode 100644 index 0000000..18e7285 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0172.jpg diff --git a/wiki/2016-10-miniperi/out_0174.jpg b/wiki/2016-10-miniperi/out_0174.jpg Binary files differnew file mode 100644 index 0000000..91549a9 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0174.jpg diff --git a/wiki/2016-10-miniperi/out_0175.jpg b/wiki/2016-10-miniperi/out_0175.jpg Binary files differnew file mode 100644 index 0000000..0089d71 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0175.jpg diff --git a/wiki/2016-10-miniperi/out_0179.jpg b/wiki/2016-10-miniperi/out_0179.jpg Binary files differnew file mode 100644 index 0000000..8306ad5 --- /dev/null +++ b/wiki/2016-10-miniperi/out_0179.jpg diff --git a/wiki/2016-10-miniperi/out_1.jpg b/wiki/2016-10-miniperi/out_1.jpg Binary files differnew file mode 100644 index 0000000..6c6275e --- /dev/null +++ b/wiki/2016-10-miniperi/out_1.jpg diff --git a/wiki/2016-10-miniperi/out_2.jpg b/wiki/2016-10-miniperi/out_2.jpg Binary files differnew file mode 100644 index 0000000..2ac5d57 --- /dev/null +++ b/wiki/2016-10-miniperi/out_2.jpg diff --git a/wiki/2016-10-miniperi/out_3.jpg b/wiki/2016-10-miniperi/out_3.jpg Binary files differnew file mode 100644 index 0000000..498dc02 --- /dev/null +++ b/wiki/2016-10-miniperi/out_3.jpg diff --git a/wiki/2016-10-miniperi/out_4.jpg b/wiki/2016-10-miniperi/out_4.jpg Binary files differnew file mode 100644 index 0000000..cd85e55 --- /dev/null +++ b/wiki/2016-10-miniperi/out_4.jpg diff --git a/wiki/2016-10-miniperi/out_5.jpg b/wiki/2016-10-miniperi/out_5.jpg Binary files differnew file mode 100644 index 0000000..86c6071 --- /dev/null +++ b/wiki/2016-10-miniperi/out_5.jpg diff --git a/wiki/2016-10-miniperi/out_6.jpg b/wiki/2016-10-miniperi/out_6.jpg Binary files differnew file mode 100644 index 0000000..c8b070b --- /dev/null +++ b/wiki/2016-10-miniperi/out_6.jpg diff --git a/wiki/2016-10-miniperi/outg_1.jpg b/wiki/2016-10-miniperi/outg_1.jpg Binary files differnew file mode 100644 index 0000000..710cd35 --- /dev/null +++ b/wiki/2016-10-miniperi/outg_1.jpg diff --git a/wiki/2016-10-miniperi/outg_2.jpg b/wiki/2016-10-miniperi/outg_2.jpg Binary files differnew file mode 100644 index 0000000..6c26f41 --- /dev/null +++ b/wiki/2016-10-miniperi/outg_2.jpg diff --git a/wiki/2016-10-miniperi/outg_3.jpg b/wiki/2016-10-miniperi/outg_3.jpg Binary files differnew file mode 100644 index 0000000..729e37e --- /dev/null +++ b/wiki/2016-10-miniperi/outg_3.jpg diff --git a/wiki/2016-10-miniperi/outg_4.jpg b/wiki/2016-10-miniperi/outg_4.jpg Binary files differnew file mode 100644 index 0000000..2fc9b83 --- /dev/null +++ b/wiki/2016-10-miniperi/outg_4.jpg diff --git a/wiki/2016-10-miniperi/outg_5.jpg b/wiki/2016-10-miniperi/outg_5.jpg Binary files differnew file mode 100644 index 0000000..641446c --- /dev/null +++ b/wiki/2016-10-miniperi/outg_5.jpg diff --git a/wiki/2016-10-miniperi/vsp2_running_count.patch b/wiki/2016-10-miniperi/vsp2_running_count.patch new file mode 100644 index 0000000..f6b0003 --- /dev/null +++ b/wiki/2016-10-miniperi/vsp2_running_count.patch @@ -0,0 +1,52 @@ +diff --git a/drv/vsp2_video.c b/drv/vsp2_video.c +index 2946088..eacbb83 100755 +--- a/drv/vsp2_video.c ++++ b/drv/vsp2_video.c +@@ -442,6 +442,7 @@ static void __vsp2_pipeline_cleanup(struct vsp2_pipeline *pipe) + + INIT_LIST_HEAD(&pipe->entities); + pipe->state = VSP2_PIPELINE_STOPPED; ++ pipe->running_count = 0; + pipe->buffers_ready = 0; + pipe->num_video = 0; + pipe->num_inputs = 0; +@@ -556,6 +557,7 @@ static void vsp2_pipeline_run(struct vsp2_pipeline *pipe) + vsp2_vspm_drv_entry(vsp2); + + pipe->state = VSP2_PIPELINE_RUNNING; ++ pipe->running_count++; + pipe->buffers_ready = 0; + } + +@@ -675,7 +677,9 @@ void vsp2_pipeline_frame_end(struct vsp2_pipeline *pipe) + spin_lock_irqsave(&pipe->irqlock, flags); + + state = pipe->state; +- pipe->state = VSP2_PIPELINE_STOPPED; ++ ++ if (--pipe->running_count == 0) ++ pipe->state = VSP2_PIPELINE_STOPPED; + + /* If a stop has been requested, mark the pipeline as stopped and + * return. +@@ -981,7 +985,7 @@ static int vsp2_video_stop_streaming(struct vb2_queue *vq) + int ret; + + mutex_lock(&pipe->lock); +- if (--pipe->stream_count == 0) { ++ if (--pipe->stream_count == pipe->num_inputs) { + /* Stop the pipeline. */ + ret = vsp2_pipeline_stop(pipe); + if (ret == -ETIMEDOUT) +diff --git a/drv/vsp2_video.h b/drv/vsp2_video.h +index 90c3478..db67e66 100755 +--- a/drv/vsp2_video.h ++++ b/drv/vsp2_video.h +@@ -120,6 +120,7 @@ struct vsp2_pipeline { + struct mutex lock; + unsigned int use_count; + unsigned int stream_count; ++ unsigned int running_count; + unsigned int buffers_ready; + + unsigned int num_video; diff --git a/wiki/2016-10-miniperi/vsp_state_bug.xlsx b/wiki/2016-10-miniperi/vsp_state_bug.xlsx Binary files differnew file mode 100644 index 0000000..32ed21e --- /dev/null +++ b/wiki/2016-10-miniperi/vsp_state_bug.xlsx |