diff mbox

drm/i915/opregion: Handle more DRM_MODE_CONNECTOR_* if _ADR fails

Message ID 1315334733-11929-1-git-send-email-ajax@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Adam Jackson Sept. 6, 2011, 6:45 p.m. UTC
Not, we hope, that it ever fails.

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

Patch

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;
 		}