drm/i915: mask tiled bit when updating ILK sprites
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 13 Jul 2012 12:50:33 +0000 (15:50 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Jul 2012 10:21:40 +0000 (12:21 +0200)
Or going from tiled to untiled may break.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c

index 1a1483b924d08a695a6ae4d8ed6345b626d0b085..cc8df4de2d921691fdee876b1cdc9b97acb39b8f 100644 (file)
@@ -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: