[PATCH i-g-t v3 0/5] Add tests for solid fill planes

Jessica Zhang quic_jesszhan at quicinc.com
Fri Mar 1 20:47:29 UTC 2024


Add corresponding IGT tests for solid fill planes [1] in kms_atomic.

This series does the following:
- Fix a dangling pipe_crc_t object in the plane_immutable_zpos test
- Add solid_fill and pixel_source to IGT plane property enum
- Add solid fill drm-uapi struct
- Change IGT commit behavior to support solid fill planes
- Add dynamic subtests for solid fill planes in kms_atomic

[1] https://patchwork.freedesktop.org/series/110283/

---
Changes in v3:
- Reset solid_fill and pixel_source properties in igt_display_reset()
  (Bhanu)
- Added check for Cairo fb float->u8 conversion (Pekka)
- Dropped drm-uapi header update
- Link to v2: https://lore.kernel.org/r/20240123-solid-fill-v2-0-4ecd2cf767fe@quicinc.com

Changes in v2:
- Updated drm-uapi headers
- Added documentation for new igt_kms public function (Kamil)
- Added documentation for new kms_atomic subtests (Kamil)
- Dropped stray newline (Kamil)
- Use pre-existing helpers to calculate rect height and width
- Add more test cases (Pekka)
- Fixed incorrect UNORM values (Pekka)

---
Jessica Zhang (5):
      tests/kms_atomic: Free pipe_crc object
      drm-uapi: Add drm_mode_solid_fill
      lib: Add support for solid_fill and pixel_source plane properties
      tests/kms_atomic: Add solid fill plane subtest
      tests/kms_atomic: Add subtest for solid fill cursor planes

 include/drm-uapi/drm_mode.h |  24 +++++
 lib/igt_kms.c               |  48 ++++++++-
 lib/igt_kms.h               |   4 +
 tests/kms_atomic.c          | 238 ++++++++++++++++++++++++++++++++++++++++----
 4 files changed, 293 insertions(+), 21 deletions(-)
---
base-commit: 40ed74461d8a44657a0f4799ade86116722d3ea2
change-id: 20230810-solid-fill-5acd9b2d42fc

Best regards,
-- 
Jessica Zhang <quic_jesszhan at quicinc.com>



More information about the igt-dev mailing list