[Intel-gfx] [PATCH] drm/i915/opregion: Handle more DRM_MODE_CONNECTOR_* if _ADR fails

Adam Jackson ajax at redhat.com
Tue Sep 6 20:45:33 CEST 2011


Not, we hope, that it ever fails.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 drivers/gpu/drm/i915/intel_opregion.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c
index b8e8158b..ef00a7d 100644
--- a/drivers/gpu/drm/i915/intel_opregion.c
+++ b/drivers/gpu/drm/i915/intel_opregion.c
@@ -400,6 +400,7 @@ blind_set:
 		case DRM_MODE_CONNECTOR_SVIDEO:
 		case DRM_MODE_CONNECTOR_Component:
 		case DRM_MODE_CONNECTOR_9PinDIN:
+		case DRM_MODE_CONNECTOR_TV:
 			output_type = ACPI_TV_OUTPUT;
 			break;
 		case DRM_MODE_CONNECTOR_DVII:
@@ -410,6 +411,7 @@ blind_set:
 			output_type = ACPI_DIGITAL_OUTPUT;
 			break;
 		case DRM_MODE_CONNECTOR_LVDS:
+		case DRM_MODE_CONNECTOR_eDP:
 			output_type = ACPI_LVDS_OUTPUT;
 			break;
 		}
-- 
1.7.6




More information about the Intel-gfx mailing list