[Intel-gfx] [PATCH 02/25] drm/i915: add debug message when EDID fetch fails

Jesse Barnes jbarnes at virtuousgeek.org
Wed Mar 21 20:48:23 CET 2012


It's pretty obvious but nice to see in the logs anyway.

Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
---
 drivers/gpu/drm/i915/intel_modes.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_modes.c b/drivers/gpu/drm/i915/intel_modes.c
index 2978a3f..c3b1af8 100644
--- a/drivers/gpu/drm/i915/intel_modes.c
+++ b/drivers/gpu/drm/i915/intel_modes.c
@@ -78,6 +78,8 @@ int intel_ddc_get_modes(struct drm_connector *connector,
 		drm_edid_to_eld(connector, edid);
 		connector->display_info.raw_edid = NULL;
 		kfree(edid);
+	} else {
+		DRM_DEBUG_KMS("failed to fetch edid\n");
 	}
 
 	return ret;
-- 
1.7.5.4




More information about the Intel-gfx mailing list