[Intel-gfx] [PATCH] drm/i915: Probe SDVO LVDS information

Adam Jackson ajax at redhat.com
Mon Nov 28 19:32:11 CET 2011


No effect besides printing the result in dmesg if debugging is enabled.

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

diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 3003fb2..c3810d2 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -2113,6 +2113,15 @@ intel_sdvo_analog_init(struct intel_sdvo *intel_sdvo, int device)
 	return true;
 }
 
+static void
+intel_sdvo_lvds_probe_panel_information(struct intel_sdvo *intel_sdvo)
+{
+	u8 info;
+	intel_sdvo_get_value(intel_sdvo,
+			     SDVO_CMD_GET_LVDS_PANEL_INFORMATION,
+			     &info, sizeof(info));
+}
+
 static bool
 intel_sdvo_lvds_init(struct intel_sdvo *intel_sdvo, int device)
 {
@@ -2145,6 +2154,8 @@ intel_sdvo_lvds_init(struct intel_sdvo *intel_sdvo, int device)
 	if (!intel_sdvo_create_enhance_property(intel_sdvo, intel_sdvo_connector))
 		goto err;
 
+	intel_sdvo_lvds_probe_panel_information(intel_sdvo);
+
 	return true;
 
 err:
-- 
1.7.6.4




More information about the Intel-gfx mailing list