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
부모 7a98aa2134
커밋 fef65e7b8c
3개의 변경된 파일12개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@@ -917,4 +917,11 @@ void sde_crtc_static_cache_read_kickoff(struct drm_crtc *crtc);
int sde_crtc_get_num_datapath(struct drm_crtc *crtc,
struct drm_connector *connector);
/**
* sde_crtc_reset_sw_state - reset dirty proerties on crtc and
* planes attached to the crtc
* @crtc: Pointer to DRM crtc object
*/
void sde_crtc_reset_sw_state(struct drm_crtc *crtc);
#endif /* _SDE_CRTC_H_ */