From ae684e674d97d2f4e6898f05e5469ee203154cfd Mon Sep 17 00:00:00 2001 From: "yuan.tian" <yuan.tian@nxp.com> Date: Mon, 21 Jun 2021 10:35:40 +0800 Subject: [PATCH] MGS-6306 [#ccc] 0024-IMX-2496-CL358735-KERNEL-SPACE-projects.dev_234062-I projects.dev_234062: IMX-2496: Merged "treating a sampler buffer as a texture" to this branch from 6.4.x. Signed-off-by: Ke Feng <ke.feng@verisilicon.com> Signed-off-by: yuan.tian <yuan.tian@nxp.com> --- drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_engine.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_engine.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_engine.h index e26afaddd8e721..71782c37d1c8cd 100644 --- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_engine.h +++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_engine.h @@ -2720,6 +2720,12 @@ gcoBUFOBJ_IndexGetRange( /* Sets a buffer object as dirty */ gceSTATUS gcoBUFOBJ_SetDirty( + IN gcoBUFOBJ BufObj, + IN gctBOOL Dirty + ); + +gctBOOL +gcoBUFOBJ_IsDirty( IN gcoBUFOBJ BufObj ); -- GitLab