[PATCH i-g-t] Debug: dump sgunit VSP driver in use

Anshuman Gupta anshuman.gupta at intel.com
Tue Aug 2 12:21:17 UTC 2022


Need to know CI DG1/DG2 binds sgunit VSP to
pcieport driver.

Signed-off-by: Anshuman Gupta <anshuman.gupta at intel.com>
---
 tests/i915/i915_pm_rpm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index e95875dc70..11200f75f1 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -834,6 +834,9 @@ static bool setup_environment(bool display_enabled)
 
 	ms_data.devid = intel_get_drm_devid(drm_fd);
 
+	if (IS_DG1(ms_data.devid) || IS_DG2(ms_data.devid))
+		igt_system("lspci -s 02:01.0 -v");
+
 	if (display_enabled)
 		init_mode_set_data(&ms_data);
 
-- 
2.26.2



More information about the Intel-gfx-trybot mailing list