vq: notify di to bypass di_p for dual channel input. [1/1]

PD#SWPL-165640

Problem:
The bandwidth is insufficient to meet the simultaneous DI processing.

Solution:
notify di to bypass di_p for dual channel input.

Verify:
T3X

Change-Id: I91f7e823fd44fb7fa27984a50250d87c08bc685c
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
This commit is contained in:
zhenteng.tian
2024-05-14 10:51:37 +08:00
committed by gerrit autosubmit
parent 54363a3114
commit f08062e7d6
@@ -1141,6 +1141,7 @@ static int videoqueue_reg_provider(struct video_queue_dev *dev)
vq_print(dev->inst, P_ERROR, "reg: init_vt failed.\n");
return ret;
}
v4lvideo_dec_count_increase();
for (i = 0; i < FILE_CNT; i++) {
dmabuf = uvm_alloc_dmabuf(SZ_4K, 0, 0);
if (!dmabuf_is_uvm(dmabuf))
@@ -1183,6 +1184,7 @@ static int videoqueue_unreg_provider(struct video_queue_dev *dev)
}
dev->vq_reg_flag = 0;
mutex_unlock(&dev->mutex_reg);
v4lvideo_dec_count_decrease();
wake_up_interruptible(&dev->fence_wq);
dev->wakeup = 1;
wake_up_interruptible(&dev->file_wq);