
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>
205 KiB
205 KiB