Skip to content

Improve max-bpc query error handling

Pranay Samala igt-dev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 2 repliesIn review
  2. v52 patches 5 repliesSuperseded
  3. v42 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches2 repliesSuperseded
v22 patches2 repliesSuperseded
v13 patches5 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Revert "tests/kms_hdr: Move capability checks inside dynamic subtests"tests/kms_hdr.c+99 -761 reply
2/3tests/kms_hdr: Simplify flag check and continue with next format on failuretests/kms_hdr.c+2 -21 reply
3/3lib/tests: make igt_get_output_max_bpc() return status and handle failures in callerslib/igt_kms.c lib/igt_kms.h tests/amdgpu/amd_bypass.c +6 more+83 -210 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSwati SharmaAlex HungKarthik B S
1/3R-b R-b
2/3R-b
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH i-g-t v6 0/3] Improve max-bpc query error handling

This series moves max-bpc failure handling to the helper/API level.

The previous change modified kms_hdr dynamic-subtest flow to handle max-bpc read failures, but the real issue was that igt_get_output_max_bpc() handled read/parse failures internally.

Restore the original kms_hdr flow and update igt_get_output_max_bpc() to return status so callers can explicitly handle failures with clearer skip/continue decisions and logging.

Simplify the HDR flag check & ensure remaining formats tested that might succeed.

Pranay Samala (3):
Revert "tests/kms_hdr: Move capability checks inside dynamic subtests" tests/kms_hdr: Simplify flag check and continue with next format on
failure
lib/tests: make igt_get_output_max_bpc() return status and handle
failures in callers

 lib/igt_kms.c                          |  41 ++++--
 lib/igt_kms.h                          |   2 +-
 tests/amdgpu/amd_bypass.c              |   6 +-
 tests/amdgpu/amd_dp_dsc.c              |  10 +-
 tests/intel/kms_dsc.c                  |   5 +-
 tests/intel/kms_frontbuffer_tracking.c |  10 +-
 tests/kms_color_helper.c               |   5 +-
 tests/kms_dither.c                     |   9 +-
 tests/kms_hdr.c                        | 187 +++++++++++++++----------
 9 files changed, 180 insertions(+), 95 deletions(-)
Signature · 1 line
2.34.1