[i-g-t] benchmarks/kms_vblank: Add XE support

Bhanuprakash Modem bhanuprakash.modem at intel.com
Mon Feb 12 15:01:13 UTC 2024


Add support for XE driver.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 benchmarks/kms_vblank.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/benchmarks/kms_vblank.c b/benchmarks/kms_vblank.c
index f32cc9e32..8668bacab 100644
--- a/benchmarks/kms_vblank.c
+++ b/benchmarks/kms_vblank.c
@@ -161,7 +161,7 @@ int main(int argc, char **argv)
 		}
 	}
 
-	fd = drm_open_driver(DRIVER_INTEL);
+	fd = drm_open_driver(DRIVER_INTEL | DRIVER_XE);
 	if (!crtc0_active(fd)) {
 		fprintf(stderr, "CRTC/pipe 0 not active\n");
 		return 77;
-- 
2.43.0



More information about the igt-dev mailing list