mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
drm/i915: Fix SKL sprite disable double buffer register update
Write the PLANE_SURF register instead of PLANE_CTL to arm the double buffer regisrter update. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
48fe4691ae
commit
2ddc1dad39
1 changed files with 2 additions and 2 deletions
|
|
@ -301,8 +301,8 @@ skl_disable_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc)
|
|||
I915_WRITE(PLANE_CTL(pipe, plane), 0);
|
||||
|
||||
/* Activate double buffered register update */
|
||||
I915_WRITE(PLANE_CTL(pipe, plane), 0);
|
||||
POSTING_READ(PLANE_CTL(pipe, plane));
|
||||
I915_WRITE(PLANE_SURF(pipe, plane), 0);
|
||||
POSTING_READ(PLANE_SURF(pipe, plane));
|
||||
|
||||
intel_update_sprite_watermarks(drm_plane, crtc, 0, 0, 0, false, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue