drm/i915: correct IVB default sprite format
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 26 Jun 2012 20:10:12 +0000 (13:10 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 27 Jun 2012 15:03:23 +0000 (17:03 +0200)
We shouldn't hit this path anyway, but make it use the IVB sprite format
definition to avoid confusion.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c

index 64174c507dd9b65d90c3e61d58a9b246378b2f49..b04109789f2e3b48c81b0506f11b64020a1b3a36 100644 (file)
@@ -85,7 +85,7 @@ ivb_update_plane(struct drm_plane *plane, struct drm_framebuffer *fb,
                break;
        default:
                DRM_DEBUG_DRIVER("bad pixel format, assuming RGBX888\n");
-               sprctl |= DVS_FORMAT_RGBX888;
+               sprctl |= SPRITE_FORMAT_RGBX888;
                pixel_size = 4;
                break;
        }