[PATCH v6 12/12] drm/xe/vrsr: Introduce a debugfs node named vrsr_capable

Badal Nilawar
2026-01-13T16:32:52Z

Add a debugfs node named vrsr_capable to check if the device
supports VRSR.

V2: Use debugfs_create_bool for vrsr_capable node (Karthik)

Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
---
drivers/gpu/drm/xe/xe_debugfs.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_debugfs.c b/drivers/gpu/drm/xe/xe_debugfs.c
index 844cfafe1ec7..60b78d3f91da 100644
--- a/drivers/gpu/drm/xe/xe_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_debugfs.c
@@ -550,6 +550,8 @@ void xe_debugfs_register(struct xe_device *xe)
debugfs_create_file("disable_late_binding", 0600, root, xe,
&disable_late_binding_fops);

+ debugfs_create_bool("vrsr_capable", 0400, root,
+ &xe->d3cold.vrsr_capable);
/*
* Don't expose page reclaim configuration file if not supported by the
* hardware initially.
--
2.52.0