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

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Wed Apr 9 12:28:46 CEST 2014


From: Rafael Barbalho <rafael.barbalho at 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 at intel.com>
[vsyrjala: Use PLANE_C instead of the number 2]
Signed-off-by: Ville Syrjälä <ville.syrjala at 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




More information about the Intel-gfx mailing list