[PATCH i-g-t 0/2] check for display before cursor size
Jakub Kolakowski
jakub1.kolakowski at intel.com
Mon Apr 7 14:45:02 UTC 2025
Currently in kms_cursor_edge_walk and kms_plane_cursor tests
igt_display_require() and igt_display_require_output() are
called after trying to get cursor width and height which leads to
fails on configurations that do not have display enabled.
Move igt_display_require() and igt_display_require_output() before
getting cursor width and height so instead tests will skip on
configurations without display.
For kms_cursor_edge_walk this also applies to igt_require_pipe_crc()
helper.
Cc: Adam Miszczak <adam.miszczak at linux.intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>
Cc: Marcin Bernatowicz <marcin.bernatowicz at linux.intel.com>
Cc: Karthik B S <karthik.b.s at intel.com>
Signed-off-by: Jakub Kolakowski <jakub1.kolakowski at intel.com>
Jakub Kolakowski (2):
tests/kms_plane_cursor: check for display before cursor size
tests/kms_cursor_edge_walk: check for display and pipe CRC before
cursor size
tests/kms_cursor_edge_walk.c | 10 +++++-----
tests/kms_plane_cursor.c | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list