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

Albert Esteve aesteve at redhat.com
Wed Aug 2 11:12:27 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             |  9 +++++
 tests/kms_cursor_legacy.c | 79 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 98 insertions(+)

-- 
2.40.0



More information about the igt-dev mailing list