[PATCH 08/20] drm/i915: Add debugfs entries for reading out DPCD DSC.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Aug 16 09:41:00 UTC 2019


Dump the DSC in i915_dpcd as well. This is useful when debugging
the link caps.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
---
 drivers/gpu/drm/i915/i915_debugfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 03d028db592b..a9fc90ea3cb7 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -4400,6 +4400,7 @@ struct dpcd_block {
 
 static const struct dpcd_block i915_dpcd_debug[] = {
 	{ .offset = DP_DPCD_REV, .size = DP_RECEIVER_CAP_SIZE },
+	{ .offset = DP_DSC_SUPPORT, .end = DP_DSC_BITS_PER_PIXEL_INC },
 	{ .offset = DP_PSR_SUPPORT, .end = DP_PSR_CAPS },
 	{ .offset = DP_DOWNSTREAM_PORT_0, .size = 16 },
 	{ .offset = DP_LINK_BW_SET, .end = DP_EDP_CONFIGURATION_SET },
-- 
2.20.1



More information about the Intel-gfx-trybot mailing list