Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/3] Improve max-bpc query error handling
@ 2026-05-18  4:03 Pranay Samala
  2026-05-18  4:03 ` [PATCH i-g-t 1/3] Revert "tests/kms_hdr: Move capability checks inside dynamic subtests" Pranay Samala
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Pranay Samala @ 2026-05-18  4:03 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, sameer.lattannavar, pranay.samala

This series refactors max-bpc query handling in IGT for better
error reporting.

The revert commit restores outer capability checks. The API
refactor changes igt_get_output_max_bpc() from assert-based
to bool+output-parameter, enabling graceful error handling.
Test updates use the new API with explicit failure handling
and clearer logging.

Pranay Samala (3):
  Revert "tests/kms_hdr: Move capability checks inside dynamic subtests"
  lib/igt_kms: make max bpc query return status
  tests/: Handle max bpc read failures explicitly

 lib/igt_kms.c                          |  38 ++++--
 lib/igt_kms.h                          |   2 +-
 tests/amdgpu/amd_bypass.c              |   6 +-
 tests/amdgpu/amd_dp_dsc.c              |  10 +-
 tests/intel/kms_dsc.c                  |  13 +-
 tests/intel/kms_frontbuffer_tracking.c |  10 +-
 tests/kms_color_helper.c               |   5 +-
 tests/kms_dither.c                     |   9 +-
 tests/kms_hdr.c                        | 169 +++++++++++++++----------
 9 files changed, 173 insertions(+), 89 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-05-21 17:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-18  4:03 [PATCH i-g-t 0/3] Improve max-bpc query error handling Pranay Samala
2026-05-18  4:03 ` [PATCH i-g-t 1/3] Revert "tests/kms_hdr: Move capability checks inside dynamic subtests" Pranay Samala
2026-05-20  3:04   ` Karthik B S
2026-05-18  4:03 ` [PATCH i-g-t 2/3] lib/igt_kms: make max bpc query return status Pranay Samala
2026-05-20  4:09   ` Karthik B S
2026-05-18  4:03 ` [PATCH i-g-t 3/3] tests/: Handle max bpc read failures explicitly Pranay Samala
2026-05-20  5:04   ` Karthik B S
2026-05-21 15:54     ` vitaly prosyak
2026-05-21 17:12       ` Alex Hung
2026-05-18 22:42 ` ✓ Xe.CI.BAT: success for Improve max-bpc query error handling Patchwork
2026-05-18 22:55 ` ✓ i915.CI.BAT: " Patchwork
2026-05-19  4:56 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-05-19 17:55 ` ✓ i915.CI.Full: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox