disp: msm: sde: reset sw state on vm transition
This change resets the plane and crtc dirty properties on transition to other VM. This ensures when the VM acquires the hw again all these properties on the new state are reapplied. Change-Id: Id95676453eb9ae937b1b22f0e244b47449101cb0 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
This commit is contained in:
@@ -1420,6 +1420,9 @@ int sde_kms_vm_pre_release(struct sde_kms *sde_kms,
|
||||
/* disable vblank events */
|
||||
drm_crtc_vblank_off(crtc);
|
||||
|
||||
/* reset sw state */
|
||||
sde_crtc_reset_sw_state(crtc);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user