From: Pranay Samala <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, swati2.sharma@intel.com,
sameer.lattannavar@intel.com, pranay.samala@intel.com
Subject: [PATCH i-g-t v6 0/3] Improve max-bpc query error handling
Date: Thu, 18 Jun 2026 12:03:44 +0530 [thread overview]
Message-ID: <20260618063347.2940031-1-pranay.samala@intel.com> (raw)
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(-)
--
2.34.1
next reply other threads:[~2026-06-18 6:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-18 6:33 Pranay Samala [this message]
2026-06-18 6:33 ` [PATCH i-g-t v6 1/3] Revert "tests/kms_hdr: Move capability checks inside dynamic subtests" Pranay Samala
2026-06-18 8:04 ` Karthik B S
2026-06-18 6:33 ` [PATCH i-g-t v6 2/3] tests/kms_hdr: Simplify flag check and continue with next format on failure Pranay Samala
2026-06-18 8:31 ` Karthik B S
2026-06-18 6:33 ` [PATCH i-g-t v6 3/3] lib/tests: make igt_get_output_max_bpc() return status and handle failures in callers Pranay Samala
2026-06-18 7:56 ` ✓ Xe.CI.BAT: success for Improve max-bpc query error handling Patchwork
2026-06-18 8:02 ` ✗ i915.CI.BAT: failure " Patchwork
2026-06-18 15:37 ` ✗ Xe.CI.FULL: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260618063347.2940031-1-pranay.samala@intel.com \
--to=pranay.samala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
--cc=sameer.lattannavar@intel.com \
--cc=swati2.sharma@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox