aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-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 a9fb046b94a..5c869cb2652 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: