From: Janghyuck Kim Date: Tue, 26 Jun 2018 11:43:53 +0000 (+0900) Subject: media: scaler: add job scheduling in buf_queue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9ec4211e814654aef25ac7435becbe9e358d7e2f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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)