summaryrefslogtreecommitdiff
path: root/wiki/2016-10-miniperi
diff options
context:
space:
mode:
Diffstat (limited to 'wiki/2016-10-miniperi')
-rw-r--r--wiki/2016-10-miniperi/20160712_renesascom-v3.pdfbin0 -> 341580 bytes
-rw-r--r--wiki/2016-10-miniperi/bsp_patch_list_20160930.xlsxbin0 -> 234119 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0145.jpgbin0 -> 31229 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0146.jpgbin0 -> 39463 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0147.jpgbin0 -> 36258 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0152.jpgbin0 -> 24641 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0153.jpgbin0 -> 52821 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0154.jpgbin0 -> 26255 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0155.jpgbin0 -> 20548 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0156.jpgbin0 -> 24832 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0158.jpgbin0 -> 21340 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0160.jpgbin0 -> 21393 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0161.jpgbin0 -> 18942 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0162.jpgbin0 -> 18739 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0163.jpgbin0 -> 26649 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0164.jpgbin0 -> 44361 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0167.jpgbin0 -> 48750 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0170.jpgbin0 -> 23281 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0171.jpgbin0 -> 27429 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0172.jpgbin0 -> 43576 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0174.jpgbin0 -> 29699 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0175.jpgbin0 -> 22678 bytes
-rw-r--r--wiki/2016-10-miniperi/out_0179.jpgbin0 -> 24086 bytes
-rw-r--r--wiki/2016-10-miniperi/out_1.jpgbin0 -> 6507 bytes
-rw-r--r--wiki/2016-10-miniperi/out_2.jpgbin0 -> 8894 bytes
-rw-r--r--wiki/2016-10-miniperi/out_3.jpgbin0 -> 5934 bytes
-rw-r--r--wiki/2016-10-miniperi/out_4.jpgbin0 -> 7893 bytes
-rw-r--r--wiki/2016-10-miniperi/out_5.jpgbin0 -> 8681 bytes
-rw-r--r--wiki/2016-10-miniperi/out_6.jpgbin0 -> 12475 bytes
-rw-r--r--wiki/2016-10-miniperi/outg_1.jpgbin0 -> 23960 bytes
-rw-r--r--wiki/2016-10-miniperi/outg_2.jpgbin0 -> 20386 bytes
-rw-r--r--wiki/2016-10-miniperi/outg_3.jpgbin0 -> 26248 bytes
-rw-r--r--wiki/2016-10-miniperi/outg_4.jpgbin0 -> 20951 bytes
-rw-r--r--wiki/2016-10-miniperi/outg_5.jpgbin0 -> 22829 bytes
-rw-r--r--wiki/2016-10-miniperi/vsp2_running_count.patch52
-rw-r--r--wiki/2016-10-miniperi/vsp_state_bug.xlsxbin0 -> 46355 bytes
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
new file mode 100644
index 0000000..1a1efd7
--- /dev/null
+++ b/wiki/2016-10-miniperi/20160712_renesascom-v3.pdf
Binary files differ
diff --git a/wiki/2016-10-miniperi/bsp_patch_list_20160930.xlsx b/wiki/2016-10-miniperi/bsp_patch_list_20160930.xlsx
new file mode 100644
index 0000000..1f44649
--- /dev/null
+++ b/wiki/2016-10-miniperi/bsp_patch_list_20160930.xlsx
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0145.jpg b/wiki/2016-10-miniperi/out_0145.jpg
new file mode 100644
index 0000000..60312e8
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0145.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0146.jpg b/wiki/2016-10-miniperi/out_0146.jpg
new file mode 100644
index 0000000..41948fa
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0146.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0147.jpg b/wiki/2016-10-miniperi/out_0147.jpg
new file mode 100644
index 0000000..0bf4bf7
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0147.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0152.jpg b/wiki/2016-10-miniperi/out_0152.jpg
new file mode 100644
index 0000000..01f76c8
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0152.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0153.jpg b/wiki/2016-10-miniperi/out_0153.jpg
new file mode 100644
index 0000000..acabf2c
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0153.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0154.jpg b/wiki/2016-10-miniperi/out_0154.jpg
new file mode 100644
index 0000000..8d3674d
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0154.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0155.jpg b/wiki/2016-10-miniperi/out_0155.jpg
new file mode 100644
index 0000000..520ca63
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0155.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0156.jpg b/wiki/2016-10-miniperi/out_0156.jpg
new file mode 100644
index 0000000..63bc355
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0156.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0158.jpg b/wiki/2016-10-miniperi/out_0158.jpg
new file mode 100644
index 0000000..f071d5f
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0158.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0160.jpg b/wiki/2016-10-miniperi/out_0160.jpg
new file mode 100644
index 0000000..4bc1c90
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0160.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0161.jpg b/wiki/2016-10-miniperi/out_0161.jpg
new file mode 100644
index 0000000..68ff096
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0161.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0162.jpg b/wiki/2016-10-miniperi/out_0162.jpg
new file mode 100644
index 0000000..89692fc
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0162.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0163.jpg b/wiki/2016-10-miniperi/out_0163.jpg
new file mode 100644
index 0000000..05ea99b
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0163.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0164.jpg b/wiki/2016-10-miniperi/out_0164.jpg
new file mode 100644
index 0000000..975bbbf
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0164.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0167.jpg b/wiki/2016-10-miniperi/out_0167.jpg
new file mode 100644
index 0000000..af229ea
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0167.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0170.jpg b/wiki/2016-10-miniperi/out_0170.jpg
new file mode 100644
index 0000000..fe10407
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0170.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0171.jpg b/wiki/2016-10-miniperi/out_0171.jpg
new file mode 100644
index 0000000..0feb7c4
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0171.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0172.jpg b/wiki/2016-10-miniperi/out_0172.jpg
new file mode 100644
index 0000000..18e7285
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0172.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0174.jpg b/wiki/2016-10-miniperi/out_0174.jpg
new file mode 100644
index 0000000..91549a9
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0174.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0175.jpg b/wiki/2016-10-miniperi/out_0175.jpg
new file mode 100644
index 0000000..0089d71
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0175.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_0179.jpg b/wiki/2016-10-miniperi/out_0179.jpg
new file mode 100644
index 0000000..8306ad5
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_0179.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_1.jpg b/wiki/2016-10-miniperi/out_1.jpg
new file mode 100644
index 0000000..6c6275e
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_1.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_2.jpg b/wiki/2016-10-miniperi/out_2.jpg
new file mode 100644
index 0000000..2ac5d57
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_2.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_3.jpg b/wiki/2016-10-miniperi/out_3.jpg
new file mode 100644
index 0000000..498dc02
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_3.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_4.jpg b/wiki/2016-10-miniperi/out_4.jpg
new file mode 100644
index 0000000..cd85e55
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_4.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_5.jpg b/wiki/2016-10-miniperi/out_5.jpg
new file mode 100644
index 0000000..86c6071
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_5.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/out_6.jpg b/wiki/2016-10-miniperi/out_6.jpg
new file mode 100644
index 0000000..c8b070b
--- /dev/null
+++ b/wiki/2016-10-miniperi/out_6.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/outg_1.jpg b/wiki/2016-10-miniperi/outg_1.jpg
new file mode 100644
index 0000000..710cd35
--- /dev/null
+++ b/wiki/2016-10-miniperi/outg_1.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/outg_2.jpg b/wiki/2016-10-miniperi/outg_2.jpg
new file mode 100644
index 0000000..6c26f41
--- /dev/null
+++ b/wiki/2016-10-miniperi/outg_2.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/outg_3.jpg b/wiki/2016-10-miniperi/outg_3.jpg
new file mode 100644
index 0000000..729e37e
--- /dev/null
+++ b/wiki/2016-10-miniperi/outg_3.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/outg_4.jpg b/wiki/2016-10-miniperi/outg_4.jpg
new file mode 100644
index 0000000..2fc9b83
--- /dev/null
+++ b/wiki/2016-10-miniperi/outg_4.jpg
Binary files differ
diff --git a/wiki/2016-10-miniperi/outg_5.jpg b/wiki/2016-10-miniperi/outg_5.jpg
new file mode 100644
index 0000000..641446c
--- /dev/null
+++ b/wiki/2016-10-miniperi/outg_5.jpg
Binary files differ
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
new file mode 100644
index 0000000..32ed21e
--- /dev/null
+++ b/wiki/2016-10-miniperi/vsp_state_bug.xlsx
Binary files differ