lib/igt_hdr: Find HDR in DisplayID EDIDs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- Apologies for the v1 bloat from agent-assisted drafting; replace the raw panel EDID dump in Patch 2/3 with a synthetic make_displayid_cta_edid() helper.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lib/igt_hdr: Add a testable igt_is_edid_hdr()lib/ lib/ lib/ +1 more | +133 | 0 replies | |
| 2/3 | lib/igt_hdr: Parse DisplayID CTA data blockslib/ lib/ | +84 | 0 replies | |
| 3/3 | tests/kms_hdr: Use /dev/kmsg in invalid-hdrtests/ | +48 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH i-g-t v2 0/3] lib/igt_hdr: Find HDR in DisplayID EDIDs
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.
v2:
- Apologies for the v1 bloat from agent-assisted drafting; replace the raw panel EDID dump in Patch 2/3 with a synthetic make_displayid_cta_edid() helper.
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 | 146 ++++++++++++++++++++++++++++++++---------- lib/igt_hdr.h | 1 + lib/tests/igt_hdr.c | 100 +++++++++++++++++++++++++++++ lib/tests/meson.build | 1 + tests/kms_hdr.c | 49 +++++++++++++- 5 files changed, 263 insertions(+), 34 deletions(-) create mode 100644 lib/tests/igt_hdr.c
Signature · 1 line
Gil Dekel, Software Engineer, Google / ChromeOS Display and Graphics