Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/3] lib/igt_hdr: Find HDR in DisplayID EDIDs
@ 2026-11-14 22:29 Gil Dekel
  2026-11-14 22:29 ` [PATCH i-g-t 1/3] lib/igt_hdr: Add a testable igt_is_edid_hdr() Gil Dekel
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Gil Dekel @ 2026-11-14 22:29 UTC (permalink / raw)
  To: igt-dev; +Cc: Gil Dekel, Swati Sharma, Karthik B S, Mark Yacoub

igt_is_panel_hdr() only looks in CTA-861 extensions. eDP panels that
describe HDR inside a DisplayID extension are therefore treated as SDR,
and kms_hdr runs invalid-hdr on them, which then fails. Patch 1 splits
the EDID parser out so it can be tested on the host, bounds it by the
blob size, and adds lib/tests/igt_hdr. Patch 2 also walks the CTA data
blocks inside DisplayID extensions. Patch 3 makes invalid-hdr read only
the kernel log written by its own commit.

Cc: Swati Sharma <swati2.sharma@intel.com>
Cc: Karthik B S <karthik.b.s@intel.com>
Cc: Mark Yacoub <markyacoub@google.com>

Gil Dekel (3):
  lib/igt_hdr: Add a testable igt_is_edid_hdr()
  lib/igt_hdr: Parse DisplayID CTA data blocks
  tests/kms_hdr: Use /dev/kmsg in invalid-hdr

 lib/igt_hdr.c         | 147 ++++++++++++++++++++++++++++++++----------
 lib/igt_hdr.h         |   1 +
 lib/tests/igt_hdr.c   | 136 ++++++++++++++++++++++++++++++++++++++
 lib/tests/meson.build |   1 +
 tests/kms_hdr.c       |  49 +++++++++++++-
 5 files changed, 300 insertions(+), 34 deletions(-)
 create mode 100644 lib/tests/igt_hdr.c

-- 
Gil Dekel, Software Engineer, Google / ChromeOS Display and Graphics


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

end of thread, other threads:[~2026-11-17  3:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-14 22:29 [PATCH i-g-t 0/3] lib/igt_hdr: Find HDR in DisplayID EDIDs Gil Dekel
2026-11-14 22:29 ` [PATCH i-g-t 1/3] lib/igt_hdr: Add a testable igt_is_edid_hdr() Gil Dekel
2026-11-14 22:29 ` [PATCH i-g-t 2/3] lib/igt_hdr: Parse DisplayID CTA data blocks Gil Dekel
2026-11-14 22:29 ` [PATCH i-g-t 3/3] tests/kms_hdr: Use /dev/kmsg in invalid-hdr Gil Dekel
2026-11-15  0:19 ` [PATCH i-g-t v2 0/3] lib/igt_hdr: Find HDR in DisplayID EDIDs Gil Dekel
2026-11-15  0:19   ` [PATCH i-g-t v2 1/3] lib/igt_hdr: Add a testable igt_is_edid_hdr() Gil Dekel
2026-11-15  0:19   ` [PATCH i-g-t v2 2/3] lib/igt_hdr: Parse DisplayID CTA data blocks Gil Dekel
2026-11-15  0:19   ` [PATCH i-g-t v2 3/3] tests/kms_hdr: Use /dev/kmsg in invalid-hdr Gil Dekel
2026-11-16  7:51 ` ✓ Xe.CI.BAT: success for lib/igt_hdr: Find HDR in DisplayID EDIDs Patchwork
2026-11-16  8:07 ` ✓ i915.CI.BAT: " Patchwork
2026-11-16  9:07 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-11-16  9:40 ` [PATCH i-g-t 0/3] " Jani Nikula
2026-11-17  3:13   ` Gil Dekel
2026-11-16 11:26 ` ✗ i915.CI.Full: failure for " Patchwork

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