Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Gil Dekel <gildekel@google.com>, igt-dev@lists.freedesktop.org
Cc: Swati Sharma <swati2.sharma@intel.com>,
	Karthik B S <karthik.b.s@intel.com>,
	Mark Yacoub <markyacoub@google.com>,
	kunal1.joshi@intel.com, Simon Ser <contact@emersion.fr>
Subject: Re: [PATCH i-g-t 0/3] lib/igt_hdr: Find HDR in DisplayID EDIDs
Date: Wed, 18 Nov 2026 12:46:29 +0200	[thread overview]
Message-ID: <412e328e1721b30468a2fa1b8e93215b2fa30c11@intel.com> (raw)
In-Reply-To: <CA++eeRP3m6kv-zu-Ea9WQOcyWZay77rjmut4R=5+twRpRETcrw@mail.gmail.com>

On Mon, 16 Nov 2026, Gil Dekel <gildekel@google.com> wrote:
> Hi Jani,
>
> On Mon, Nov 16, 2026 at 11:40:12AM +0200, Jani Nikula wrote:
>> I suggested using libdisplay-info in IGT in April [1]. Has anything
>> happened in that front?
>>
>> The more EDID parsing gets added to IGT, the harder it will be to
>> migrate, and the cost of maintaining the local parser increases.
>
> Nothing I am aware of, and I agree libdisplay-info is the right
> long-term direction for IGT. Driving a tree-wide migration (build/CI
> dependencies and converting existing lib/igt_edid callers) is beyond
> what I can take on right now, though.

Well, it's beyond what *anyone* can take on right now, always.

I keep bringing this up, because more and more EDID parsing keeps
getting added, incrementally in small pieces. And it becomes harder for
anyone to migrate. Or to maintain.

> I kept the parser delta here minimal so it won't get in the way of that
> migration:
> - 1/3 isolates the check behind igt_is_edid_hdr(data, size), fixes two
>   OOB/overwrite bugs in the CTA loop, and adds unit tests in
>   lib/tests/igt_hdr - leaving a single tested function to swap over
>   when libdisplay-info lands.
> - 2/3 is ~38 net lines reusing lib/igt_edid.h's edid_dispid structs to
>   pass DisplayID 0x81 CTA blocks into the same CTA helper, unblocking
>   kms_hdr on DisplayID 2.0 eDP OLED panels today.
> - 3/3 switches kms_hdr invalid-hdr to /dev/kmsg (no EDID changes).
>
> Would you be open to landing this series in the meantime so DisplayID
> HDR panels aren't blocked while IGT figures out its libdisplay-info
> path?

I'm not an IGT maintainer. I don't make the decisions. I'm only
commenting on what I personally view as a gradually happening train
wreck. Nobody's causing the train wreck, and everyone is. *shrug*.

Cc: Simon, maybe we could nerd snipe him to add the scaffolding to use
libdisplay-info. :p


BR,
Jani.

-- 
Jani Nikula, Intel

  reply	other threads:[~2026-11-18 10:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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-18 10:46     ` Jani Nikula [this message]
2026-11-21 12:01       ` Simon Ser
2026-11-23 11:31         ` Jani Nikula
2026-11-16 11:26 ` ✗ i915.CI.Full: failure for " 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=412e328e1721b30468a2fa1b8e93215b2fa30c11@intel.com \
    --to=jani.nikula@intel.com \
    --cc=contact@emersion.fr \
    --cc=gildekel@google.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=karthik.b.s@intel.com \
    --cc=kunal1.joshi@intel.com \
    --cc=markyacoub@google.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