diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2012-06-26 20:10:11 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-06-27 15:03:23 (GMT) |
commit | e86fe0d31722090e3bb72a3e8aab70f07e2c6b77 (patch) | |
tree | c37b30968006c8dac76dd8f06a917db1a9c05f45 /drivers | |
parent | 25c0af768c679e44587f4cf66934d00b84d70061 (diff) | |
download | linux-fsl-qoriq-e86fe0d31722090e3bb72a3e8aab70f07e2c6b77.tar.xz |
drm/i915: mask tiled bit when updating IVB sprites
Or going from tiled to untiled may break.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sprite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c index 9d7777b..64174c5 100644 --- a/drivers/gpu/drm/i915/intel_sprite.c +++ b/drivers/gpu/drm/i915/intel_sprite.c @@ -56,6 +56,7 @@ ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb, sprctl &= ~SPRITE_PIXFORMAT_MASK; sprctl &= ~SPRITE_RGB_ORDER_RGBX; sprctl &= ~SPRITE_YUV_BYTE_ORDER_MASK; + sprctl &= ~SPRITE_TILED; switch (fb->pixel_format) { case DRM_FORMAT_XBGR8888: |