From 9ec4211e814654aef25ac7435becbe9e358d7e2f Mon Sep 17 00:00:00 2001 From: Janghyuck Kim Date: Tue, 26 Jun 2018 20:43:53 +0900 Subject: [PATCH] media: scaler: add job scheduling in buf_queue buf_queue callback will be called when fence is signaled. At that time, job should be tried to run because this buffer queueing might satisfy the condition to work. Job would be never triggered without this scheduling. Change-Id: Iba5a25b1280e60b35f431266d289f1d5b2af5fdb Signed-off-by: Janghyuck Kim --- drivers/media/platform/exynos/scaler/scaler-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/exynos/scaler/scaler-core.c b/drivers/media/platform/exynos/scaler/scaler-core.c index 1fc2649bcb4f..5164129b0dc8 100644 --- a/drivers/media/platform/exynos/scaler/scaler-core.c +++ b/drivers/media/platform/exynos/scaler/scaler-core.c @@ -1878,6 +1878,7 @@ static void sc_vb2_buf_queue(struct vb2_buffer *vb) struct vb2_v4l2_buffer *v4l2_buf = to_vb2_v4l2_buffer(vb); v4l2_m2m_buf_queue(ctx->m2m_ctx, v4l2_buf); + v4l2_m2m_try_schedule(ctx->m2m_ctx); } static void sc_vb2_buf_cleanup(struct vb2_buffer *vb) -- 2.20.1