summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_sprite.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2012-06-26 13:10:12 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-27 17:03:23 +0200
commitf4d71056482f0c3306aa752fd626883f60deed96 (patch)
tree41d1e4bb56ce64a9d761a513aa2be2ad03cc9461 /drivers/gpu/drm/i915/intel_sprite.c
parente86fe0d31722090e3bb72a3e8aab70f07e2c6b77 (diff)
downloadtalos-op-linux-f4d71056482f0c3306aa752fd626883f60deed96.tar.gz
talos-op-linux-f4d71056482f0c3306aa752fd626883f60deed96.zip
drm/i915: correct IVB default sprite format
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
-rw-r--r--drivers/gpu/drm/i915/intel_sprite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
index 64174c507dd9..b04109789f2e 100644
--- a/drivers/gpu/drm/i915/intel_sprite.c
+++ b/drivers/gpu/drm/i915/intel_sprite.c
@@ -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;
}
OpenPOWER on IntegriCloud