From a70e704ef0bdd80c2cd45b58bc54644a7189c32c Mon Sep 17 00:00:00 2001 From: Lakshmi Narayana Kalavala Date: Tue, 2 Nov 2021 15:30:02 -0700 Subject: [PATCH] disp: msm: sde: Add spr and demura to handoff features list SPR and Demura modules being disabled when switching back from Trusted VM to HLOS VM. The change adds the support to restore the modules to restore to their original state. Change-Id: I0a843671672179a4bc62da512baf02e911fb50aa Signed-off-by: Lakshmi Narayana Kalavala --- msm/sde/sde_color_processing.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msm/sde/sde_color_processing.c b/msm/sde/sde_color_processing.c index 44d5ca58..9bf8ad58 100644 --- a/msm/sde/sde_color_processing.c +++ b/msm/sde/sde_color_processing.c @@ -169,6 +169,8 @@ static bool feature_handoff_mask[SDE_CP_CRTC_MAX_FEATURES] = { [SDE_CP_CRTC_DSPP_SIXZONE] = 1, [SDE_CP_CRTC_DSPP_GAMUT] = 1, [SDE_CP_CRTC_DSPP_DITHER] = 1, + [SDE_CP_CRTC_DSPP_SPR_INIT] = 1, + [SDE_CP_CRTC_DSPP_DEMURA_INIT] = 1, }; typedef void (*dspp_cap_update_func_t)(struct sde_crtc *crtc,