[igt-dev] [PATCH v2 0/2] Add atomic DRM cursor hotspot test

Albert Esteve aesteve at redhat.com
Fri Jul 28 14:37:40 UTC 2023


Add test to verify the kernel patch at [1].

The test modifies the hotspot x and y properties and
checks that they get properly updated after every
display commit.

Note: the patch adds a DRM capability definition taken
directly from the kernel patch. Once the definition
lands on IGT after the drm.h is updated, the local
definition shall be removed.

[1] - https://lists.freedesktop.org/archives/dri-devel/2023-July/414509.html

Albert Esteve (2):
  igt_kms: add hotspot plane property
  kms_cursor_legacy: modeset-atomic-cursor-hotspot

 lib/igt_kms.c             | 10 ++++++
 lib/igt_kms.h             | 11 +++++-
 tests/kms_cursor_legacy.c | 76 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 96 insertions(+), 1 deletion(-)

-- 
2.40.0



More information about the igt-dev mailing list