public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
	Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Subject: Re: [PATCH v2 0/9] drm/i915/{dp,hdmi}: Restructure DP/HDMI sink format handling
Date: Mon, 13 Apr 2026 21:38:03 +0300	[thread overview]
Message-ID: <ad04C281j3Cwyb5y@intel.com> (raw)
In-Reply-To: <8031984.DvuYhMxLoT@workhorse>

On Thu, Apr 09, 2026 at 05:40:50PM +0200, Nicolas Frattaroli wrote:
> On Thursday, 9 April 2026 12:15:30 Central European Summer Time Ville Syrjala wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > 
> > Restructure the DP/HDMI sink format handling. I got inspired to do this
> > by https://lore.kernel.org/dri-devel/20260324-color-format-v11-8-605559af4fb4@collabora.com/
> > 
> > I envision that after this the aforementioned patch could just
> > become something like this:
> > 
> > 1. s/intel_foo_compute_formats/intel_foo_compute_formats_auto/
> > 2. Add a new intel_foo_compute_formats()
> > 
> >    intel_foo_compute_formats()
> >    {
> >         switch (color_format) {
> >         case YCBCR420:
> >                 return intel_foo_compute_output_format(YCBCR420);
> >         case RGB:
> >                 return intel_foo_compute_output_format(RGB);
> >         case AUTO:
> >                 return intel_foo_compute_formats_auto();
> >         }
> >    }
> > 
> > v2: A few more updates to the DP mode validation
> > 
> > Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> > Cc: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
> > 
> > Ville Syrjälä (9):
> >   drm/i915/hdmi: Add missing intel_pfit_mode_valid() for 4:2:0 also
> >     modes
> >   drm/i915/hdmi: Restructure the sink/output format selection
> >   drm/i915/hdmi: Restructure 4:2:0 vs. 4:4:4 mode validation
> >   drm/i915/dp: Restructure the sink/output format selection
> >   drm/i915/dp: Validate "4:2:0 also" modes twice
> >   drm/i915/dp: Require a HDMI sink for YCbCr output via PCON
> >   drm/i915/dp: Validate sink format in .mode_valid()
> >   drm/i915/hdmi: Make the RGB fallback for "4:2:0 only" modes the last
> >     resort
> >   drm/i915/dp: Make the RGB fallback for "4:2:0 only" modes the last
> >     resort
> > 
> >  drivers/gpu/drm/i915/display/intel_dp.c   | 250 +++++++++++++---------
> >  drivers/gpu/drm/i915/display/intel_hdmi.c | 167 +++++++++------
> >  2 files changed, 254 insertions(+), 163 deletions(-)
> > 
> > 
> 
> For the whole series:
> 
> Tested-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
> 
> Tested both DisplayPort and HDMI on an N97 board, exercising various
> output formats.

Thanks for testing and reviews. Pushed to drm-intel-next.

-- 
Ville Syrjälä
Intel

  reply	other threads:[~2026-04-13 18:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-09 10:15 [PATCH v2 0/9] drm/i915/{dp, hdmi}: Restructure DP/HDMI sink format handling Ville Syrjala
2026-04-09 10:15 ` [PATCH v2 1/9] drm/i915/hdmi: Add missing intel_pfit_mode_valid() for 4:2:0 also modes Ville Syrjala
2026-04-09 10:15 ` [PATCH v2 2/9] drm/i915/hdmi: Restructure the sink/output format selection Ville Syrjala
2026-04-09 10:15 ` [PATCH v2 3/9] drm/i915/hdmi: Restructure 4:2:0 vs. 4:4:4 mode validation Ville Syrjala
2026-04-09 10:15 ` [PATCH v2 4/9] drm/i915/dp: Restructure the sink/output format selection Ville Syrjala
2026-04-09 10:51   ` Nautiyal, Ankit K
2026-04-09 10:15 ` [PATCH v2 5/9] drm/i915/dp: Validate "4:2:0 also" modes twice Ville Syrjala
2026-04-09 10:58   ` Nautiyal, Ankit K
2026-04-09 10:15 ` [PATCH v2 6/9] drm/i915/dp: Require a HDMI sink for YCbCr output via PCON Ville Syrjala
2026-04-09 10:15 ` [PATCH v2 7/9] drm/i915/dp: Validate sink format in .mode_valid() Ville Syrjala
2026-04-09 10:15 ` [PATCH v2 8/9] drm/i915/hdmi: Make the RGB fallback for "4:2:0 only" modes the last resort Ville Syrjala
2026-04-09 10:15 ` [PATCH v2 9/9] drm/i915/dp: " Ville Syrjala
2026-04-09 10:23 ` ✗ CI.KUnit: failure for drm/i915/{dp, hdmi}: Restructure DP/HDMI sink format handling (rev2) Patchwork
2026-04-09 15:40 ` [PATCH v2 0/9] drm/i915/{dp, hdmi}: Restructure DP/HDMI sink format handling Nicolas Frattaroli
2026-04-13 18:38   ` Ville Syrjälä [this message]
2026-04-10 10:07 ` ✗ CI.checkpatch: warning for drm/i915/{dp, hdmi}: Restructure DP/HDMI sink format handling (rev3) Patchwork
2026-04-10 10:08 ` ✓ CI.KUnit: success " Patchwork
2026-04-10 10:53 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-10 17:42 ` ✗ Xe.CI.FULL: failure " 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=ad04C281j3Cwyb5y@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=ankit.k.nautiyal@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=nicolas.frattaroli@collabora.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