[i-g-t 4/4] tests/intel/kms_dirtyfb: Fix few fixtures
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Dec 27 13:30:20 UTC 2023
As this test is expected that the driver must be atomic and
atleast one display panel connected, fix the igt_fixtures
accordingly.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/intel/kms_dirtyfb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/intel/kms_dirtyfb.c b/tests/intel/kms_dirtyfb.c
index 42fceb91c..7bf49cb15 100644
--- a/tests/intel/kms_dirtyfb.c
+++ b/tests/intel/kms_dirtyfb.c
@@ -304,11 +304,11 @@ igt_main
kmstest_set_vt_graphics_mode();
igt_display_require(&data.display, data.drm_fd);
+ igt_display_require_output(&data.display);
+ igt_require(data.display.is_atomic);
data.bops = buf_ops_create(data.drm_fd);
data.rendercopy = igt_get_render_copyfunc(intel_get_drm_devid(data.drm_fd));
-
- igt_display_reset(&data.display);
}
for (data.feature = FEATURE_DEFAULT; data.feature > 0;
--
2.40.0
More information about the igt-dev
mailing list