drm/i915: mask tiled bit when updating ILK sprites
Subsystems (2)
PATCH 1/1 drm/i915: mask tiled bit when updating ILK sprites
From: Ander Conselvan de Oliveira <[email protected]>
Or going from tiled to untiled may break.
Signed-off-by Ander Conselvan de Oliveira <[email protected]>
--- drivers/gpu/drm/i915/intel_sprite.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/gpu/drm/i915/intel_sprite.c +1 -0
@@ -234,6 +234,7 @@ ilk_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb, dvscntr &= ~DVS_PIXFORMAT_MASK ; dvscntr &= ~DVS_RGB_ORDER_XBGR ; dvscntr &= ~DVS_YUV_BYTE_ORDER_MASK ; + dvscntr &= ~DVS_TILED ;switch (fb->pixel_format) {case DRM_FORMAT_XBGR8888 :
Signature · 1 line
1.7.4.1
Quoted 5 lines · Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira <[email protected]>
Or going from tiled to untiled may break.
Signed-off-by Ander Conselvan de Oliveira <[email protected]>
Reviewed-by Chris Wilson <[email protected]>
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Quoted 7 lines · Chris Wilson
Quoted 5 lines · Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira <[email protected]>
Or going from tiled to untiled may break.
Signed-off-by Ander Conselvan de Oliveira <[email protected]>Reviewed-by Chris Wilson <[email protected]>
Queued for -next, thanks for the patch. For some odd reason I've thought I've reviewed the other sprite implementations when I've merged Jesse's identical fix for ivb. But alas, I've failed, thanks for catching this. -Daniel
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48