aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-18 17:13:13 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-08 06:06:49 -0500
commitcc7ebb2892197fbf2512063547dfd1702bc936fa (patch)
treee668514394c9ea4be4fad23c5339b7d2ab74ff2c /drivers/gpu
parent901593f2bf221659a605bdc1dcb11376ea934163 (diff)
drm/i915: The sprite scaler on Ironlake also support YUV planes
This fixes a regression from commit 57779d06367a915ee03e6cb918d7575f0a46e419 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: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index a9fb046b94a1..5c869cb26528 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8637,7 +8637,7 @@ int intel_framebuffer_init(struct drm_device *dev,
8637 case DRM_FORMAT_UYVY: 8637 case DRM_FORMAT_UYVY:
8638 case DRM_FORMAT_YVYU: 8638 case DRM_FORMAT_YVYU:
8639 case DRM_FORMAT_VYUY: 8639 case DRM_FORMAT_VYUY:
8640 if (INTEL_INFO(dev)->gen < 6) 8640 if (INTEL_INFO(dev)->gen < 5)
8641 return -EINVAL; 8641 return -EINVAL;
8642 break; 8642 break;
8643 default: 8643 default: