drm: msm: skip re-marking color processing features as dirty
Current implementation we apply the color properties when atomic begin is called and mark features as dirty if crtc is not enabled. For some of the non double buffered features in video mode we will see a corruption. Change removes marking color properties as dirty based on crtc on/off. Change-Id: I4d93b14627d2bc06fcbca3ea9538a4baedb00e56 Signed-off-by: Lakshmi Narayana Kalavala <quic_lkalaval@quicinc.com>
This commit is contained in:
@@ -2243,9 +2243,6 @@ void sde_cp_crtc_apply_properties(struct drm_crtc *crtc)
|
||||
}
|
||||
|
||||
_sde_cp_flush_properties(crtc);
|
||||
if (!sde_crtc->enabled)
|
||||
return;
|
||||
|
||||
mutex_lock(&sde_crtc->crtc_cp_lock);
|
||||
_sde_clear_ltm_merge_mode(sde_crtc);
|
||||
|
||||
|
||||
@@ -4231,9 +4231,6 @@ static void _sde_crtc_atomic_begin(struct drm_crtc *crtc,
|
||||
if (sde_kms_is_cp_operation_allowed(sde_kms))
|
||||
sde_cp_crtc_apply_properties(crtc);
|
||||
|
||||
if (!sde_crtc->enabled)
|
||||
sde_cp_crtc_mark_features_dirty(crtc);
|
||||
|
||||
/*
|
||||
* PP_DONE irq is only used by command mode for now.
|
||||
* It is better to request pending before FLUSH and START trigger
|
||||
|
||||
Reference in New Issue
Block a user