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:
Abhijit Kulkarni
2020-11-18 14:25:36 -08:00
szülő 7a98aa2134
commit fef65e7b8c
3 fájl változott, egészen pontosan 12 új sor hozzáadva és 2 régi sor törölve

Fájl megtekintése

@@ -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;
}