Commit cc7ebb28 authored by Chris Wilson's avatar Chris Wilson Committed by Daniel Vetter

drm/i915: The sprite scaler on Ironlake also support YUV planes

This fixes a regression from

commit 57779d06
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Wed Oct 31 17:50:14 2012 +0200

    drm/i915: Fix display pixel format handling

(which even says that they are supported on Ironlake, and then promptly
rejects then...)
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 901593f2
...@@ -8637,7 +8637,7 @@ int intel_framebuffer_init(struct drm_device *dev, ...@@ -8637,7 +8637,7 @@ int intel_framebuffer_init(struct drm_device *dev,
case DRM_FORMAT_UYVY: case DRM_FORMAT_UYVY:
case DRM_FORMAT_YVYU: case DRM_FORMAT_YVYU:
case DRM_FORMAT_VYUY: case DRM_FORMAT_VYUY:
if (INTEL_INFO(dev)->gen < 6) if (INTEL_INFO(dev)->gen < 5)
return -EINVAL; return -EINVAL;
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment