[PATCH 48/71] drm/i915/chv: Add plane C support

ville.syrjala
2014-04-09T10:31:57Z

From: Rafael Barbalho <rafael.barbalho@intel.com>

The i9xx_update_plane function was rejecting plane C when it is now a
valid plane.

Signed-off-by: Rafael Barbalho <rafael.barbalho@intel.com>
[vsyrjala: Use PLANE_C instead of the number 2]
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
drivers/gpu/drm/i915/intel_display.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 9b65a04..51d9079 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2351,6 +2351,7 @@ static int i9xx_update_primary_plane(struct drm_crtc *crtc,
switch (plane) {
case PLANE_A:
case PLANE_B:
+ case PLANE_C:
break;
default:
DRM_ERROR("Can't update plane %c\n", plane_name(plane));
--
1.8.3.2