[PATCH 5/6] hack: more debugs
Jani Nikula
jani.nikula at intel.com
Thu Dec 14 09:23:08 UTC 2023
---
drivers/gpu/drm/drm_edid.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index a117a3c7a813..47da941d8700 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2642,8 +2642,12 @@ static bool drm_probe_displayid(struct i2c_adapter *adapter)
int ret;
ret = ddc_read_block(&context, block, 0, sizeof(block));
- if (ret)
+ if (ret) {
+ DRM_DEBUG_KMS("displayid: ddc_read_block() returned %d\n", ret);
return false;
+ }
+
+ WARN(1, "displayid: We have a displayid!\n");
print_hex_dump(KERN_INFO, "displayid: ", DUMP_PREFIX_OFFSET, 16, 1,
block, sizeof(block), true);
--
2.39.2
More information about the Intel-gfx-trybot
mailing list