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:
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user