disp: msm: sde: add new function for updating the cp feature lists only
When sde_crtc_atomic_begin is called before crtc is enabled, all the color processing features need to be moved from active_list to dirty_list after sde_cp_crtc_apply_properties(). However, the ltm_hist_en flag doesn't need to be set to false in this case. Setting ltm_hist_en to false in this case will result LTM merge_en bit being cleared incorrectly. This change replaces sde_cp_crtc_suspend() with a new function that only updates the color processing feature lists in sde_crtc_atomic_begin(). Change-Id: I75d7874899838855bda05a1e8eca0cb9523417e9 Signed-off-by: Ping Li <pingli@quicinc.com>
This commit is contained in:
@@ -3620,7 +3620,7 @@ static void sde_crtc_atomic_begin(struct drm_crtc *crtc,
|
||||
sde_cp_crtc_apply_properties(crtc);
|
||||
|
||||
if (!sde_crtc->enabled)
|
||||
sde_cp_crtc_suspend(crtc);
|
||||
sde_cp_crtc_mark_features_dirty(crtc);
|
||||
|
||||
/*
|
||||
* PP_DONE irq is only used by command mode for now.
|
||||
|
Reference in New Issue
Block a user