From de5924f5f51e774d5365eb615405687fcbeaffc7 Mon Sep 17 00:00:00 2001 From: Sabarinath M B Date: Wed, 14 Dec 2022 13:27:20 +0530 Subject: [PATCH] disp: msm: sde: Set dirty bits for UCSC properties Map UCSC plane properties to dirty bits to perform operations correctly. Change-Id: I6903b62846b8b535477aeca21a6c6e910dd4f6ad Signed-off-by: Sabarinath M B --- msm/sde/sde_plane.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/msm/sde/sde_plane.c b/msm/sde/sde_plane.c index 74f3660251..32470d33cc 100644 --- a/msm/sde/sde_plane.c +++ b/msm/sde/sde_plane.c @@ -3004,6 +3004,12 @@ static void _sde_plane_map_prop_to_dirty_bits(void) plane_prop_array[PLANE_PROP_FP16_GC] = SDE_PLANE_DIRTY_FP16_GC; plane_prop_array[PLANE_PROP_FP16_CSC] = SDE_PLANE_DIRTY_FP16_CSC; plane_prop_array[PLANE_PROP_FP16_UNMULT] = SDE_PLANE_DIRTY_FP16_UNMULT; + + plane_prop_array[PLANE_PROP_UCSC_UNMULT] = SDE_PLANE_DIRTY_UCSC_UNMULT; + plane_prop_array[PLANE_PROP_UCSC_IGC] = SDE_PLANE_DIRTY_UCSC_IGC; + plane_prop_array[PLANE_PROP_UCSC_CSC] = SDE_PLANE_DIRTY_UCSC_CSC; + plane_prop_array[PLANE_PROP_UCSC_GC] = SDE_PLANE_DIRTY_UCSC_GC; + plane_prop_array[PLANE_PROP_UCSC_ALPHA_DITHER] = SDE_PLANE_DIRTY_UCSC_ALPHA_DITHER; } static inline bool _sde_plane_allow_uidle(struct sde_plane *psde,