[i-g-t 1/1] drm/i915/display: Dump display parameters to i915_display_capabilities
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Jan 17 17:05:03 UTC 2024
Include Display parameters in i915_display_capabilities debugfs.
Cc: Jouni Högander <jouni.hogander at intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
drivers/gpu/drm/i915/display/intel_display_debugfs.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
index 6f2d13c8ccf7..1eb296b5c38a 100644
--- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
+++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
@@ -625,6 +625,10 @@ static int i915_display_capabilities(struct seq_file *m, void *unused)
struct drm_i915_private *i915 = node_to_i915(m->private);
struct drm_printer p = drm_seq_file_printer(m);
+ kernel_param_lock(THIS_MODULE);
+ intel_display_params_dump(i915, &p);
+ kernel_param_unlock(THIS_MODULE);
+
intel_display_device_info_print(DISPLAY_INFO(i915),
DISPLAY_RUNTIME_INFO(i915), &p);
--
2.40.0
More information about the Intel-gfx
mailing list