diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-03-19 17:57:14 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-20 11:48:23 +0100 |
commit | 2ddc1dad393d39ee6218e545e37e57f3a9dc050f (patch) | |
tree | 291ecefb13707b12b8cac0fb50bbc90c0a941917 /drivers/gpu/drm/i915/intel_sprite.c | |
parent | 48fe4691ae639e60fda37faf06dccdff60245149 (diff) | |
download | lwn-2ddc1dad393d39ee6218e545e37e57f3a9dc050f.tar.gz lwn-2ddc1dad393d39ee6218e545e37e57f3a9dc050f.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sprite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index a4c9c66d7e79..0f00209bb220 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c @@ -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); } |