[i-g-t 36/43] tests/kms_plane_lowers: Add XE support
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Fri Mar 24 08:09:56 UTC 2023
Add XE driver support for kms tests.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/kms_plane_lowres.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/kms_plane_lowres.c b/tests/kms_plane_lowres.c
index 958d3ec6f..831d0d758 100644
--- a/tests/kms_plane_lowres.c
+++ b/tests/kms_plane_lowres.c
@@ -318,8 +318,6 @@ igt_main
igt_fixture {
data.drm_fd = drm_open_driver_master(DRIVER_ANY);
- data.devid = is_i915_device(data.drm_fd) ?
- intel_get_drm_devid(data.drm_fd) : 0;
kmstest_set_vt_graphics_mode();
@@ -327,6 +325,9 @@ igt_main
igt_display_require(&data.display, data.drm_fd);
igt_display_require_output(&data.display);
igt_require(data.display.is_atomic);
+
+ data.devid = is_intel_device(data.drm_fd) ?
+ intel_get_drm_devid(data.drm_fd) : 0;
}
for (int i = 0; i < ARRAY_SIZE(subtests); i++) {
--
2.40.0
More information about the Intel-gfx-trybot
mailing list