From: Chris Wilson Date: Tue, 18 Dec 2012 22:13:13 +0000 (+0000) Subject: drm/i915: The sprite scaler on Ironlake also support YUV planes X-Git-Tag: upstream/snapshot3+hdmi~5804^2~5^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc7ebb2892197fbf2512063547dfd1702bc936fa;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drm/i915: The sprite scaler on Ironlake also support YUV planes This fixes a regression from commit 57779d06367a915ee03e6cb918d7575f0a46e419 Author: Ville Syrjälä 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 Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index a9fb046..5c869cb 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, case DRM_FORMAT_UYVY: case DRM_FORMAT_YVYU: case DRM_FORMAT_VYUY: - if (INTEL_INFO(dev)->gen < 6) + if (INTEL_INFO(dev)->gen < 5) return -EINVAL; break; default: