From c06d3b4a714f4eb82087924e26f5b0a5823cb526 Mon Sep 17 00:00:00 2001 From: Herman Chen Date: Thu, 11 Jan 2024 16:17:44 +0800 Subject: [PATCH] fix[dmabuf]: Disable dmabuf partial sync function For kernel dmabuf driver has bug on partial sync function we deside to disable partial sync to reduce user's error. Signed-off-by: Herman Chen Change-Id: I2c69c407eb5b0056ad0377699fef6ef31e1d79cd --- osal/mpp_dmabuf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osal/mpp_dmabuf.cpp b/osal/mpp_dmabuf.cpp index 18f81709..8140a883 100644 --- a/osal/mpp_dmabuf.cpp +++ b/osal/mpp_dmabuf.cpp @@ -16,7 +16,7 @@ #define MPP_NO_PARTIAL_SUPPORT 25 /* ENOTTY */ #define CACHE_LINE_SIZE 64 -static RK_U32 has_partial_ops = 1; +static RK_U32 has_partial_ops = 0; __attribute__ ((constructor)) void mpp_dmabuf_init(void)