drm/i915: Bad pixel formats can't reach the sprite code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 May 2012 17:14:28 +0000 (20:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 25 Oct 2012 16:57:39 +0000 (19:57 +0300)
commit8a3900bf9e0d9f11c848f821c2c3de7f6b96bd16
tree58824eac45c7e57b7e94b8b09eb034733bf2d759
parent4fe5a645dddb09b93556144f391c81ba0155c974
drm/i915: Bad pixel formats can't reach the sprite code

The framebuffer pixel format is already checked by the common code.
So there's no way an invalid format could reach the driver. So instead
of falling back to a default format, call BUG().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_sprite.c