From: Imre Deak <imre.deak@intel.com>
To: "Murthy, Arun R" <arun.r.murthy@intel.com>
Cc: "intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: [PATCH 1/2] drm/i915/dp_mst: Fix configuring FEC for a disconnected stream
Date: Tue, 8 Sep 2026 12:13:33 +0300 [thread overview]
Message-ID: <ap_Q6_BX4Rv0DntW@ideak-desk.lan> (raw)
In-Reply-To: <CH3PR11MB7300904CF56A4A0DDA801FB4BAB12@CH3PR11MB7300.namprd11.prod.outlook.com>
On Tue, Sep 08, 2026 at 06:25:04AM +0300, Murthy, Arun R wrote:
>
> > -----Original Message-----
> > From: Intel-gfx <intel-gfx-bounces@lists.freedesktop.org> On Behalf Of Imre
> > Deak
> > Sent: Monday, September 7, 2026 11:14 PM
> > To: intel-gfx@lists.freedesktop.org; intel-xe@lists.freedesktop.org
> > Cc: stable@vger.kernel.org
> > Subject: [PATCH 1/2] drm/i915/dp_mst: Fix configuring FEC for a disconnected
> > stream
> >
> > During an atomic commit after all the MST stream CRTC state is computed the
> > driver ensures that the FEC is configured the same way (enabled or
> > disabled) for all the streams on a given MST topology's link.
> > drm_dp_mst_port_downstream_of_parent() used to determine if a stream is
> > downstream of an MST port will return false if the whole topology is
> > disconnected, since in that case it can't verify that the port/ parent_port passed
> > to it is in the given MST topology. This is a problem during the above FEC
> > configuration check, since
> > intel_dp_mst_check_dsc_change()->get_pipes_downstream_of_mst_ports()
> > will not return all the stream CRTCs/pipes for the topology as expected.
> > Since passing parent_port==NULL to get_pipes_downstream_of_mst_port()
> > is meant to return all the streams for the given topology (i.e. mst_mgr) skip
> > checking if an MST port is downstream of a parent port in this case.
> >
> I already have a fix for this posted long back.
> https://patchwork.freedesktop.org/series/168570/
I explained the problem of that patchset in:
https://lore.kernel.org/all/ah60jJkzbbw25R-L@ideak-desk.lan
> Thanks and Regards,
> Arun R Murthy
> --------------------
> > This fixes a problem where the FEC configuration check explained above failed
> > to ensure that all streams' FEC is configured the same way if the topology was
> > disconnected, leading to a FEC state mismatch error.
> >
> > Cc: stable@vger.kernel.org # v6.10+
> > Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/work_items/16073
> > Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/work_items/16384
> > Signed-off-by: Imre Deak <imre.deak@intel.com>
> > ---
> > drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c
> > b/drivers/gpu/drm/i915/display/intel_dp_mst.c
> > index 6a869d0f6ffc0..20766b6c0bcfa 100644
> > --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c
> > +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c
> > @@ -856,7 +856,8 @@ static u8 get_pipes_downstream_of_mst_port(struct
> > intel_atomic_state *state,
> > if (&connector->mst.dp->mst.mgr != mst_mgr)
> > continue;
> >
> > - if (connector->mst.port != parent_port &&
> > + if (parent_port &&
> > + connector->mst.port != parent_port &&
> > !drm_dp_mst_port_downstream_of_parent(mst_mgr,
> > connector->mst.port,
> > parent_port))
> > --
> > 2.49.1
>
next prev parent reply other threads:[~2026-09-08 9:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 17:44 [PATCH 1/2] drm/i915/dp_mst: Fix configuring FEC for a disconnected stream Imre Deak
2026-09-07 17:44 ` [PATCH 2/2] drm/i915/dp_mst: Fix configuring TUs " Imre Deak
2026-09-07 17:59 ` sashiko-bot
2026-09-10 9:50 ` Luca Coelho
2026-09-10 11:11 ` Imre Deak
2026-09-10 12:24 ` Luca Coelho
2026-09-07 18:09 ` ✗ CI.checkpatch: warning for series starting with [1/2] drm/i915/dp_mst: Fix configuring FEC " Patchwork
2026-09-07 18:11 ` ✓ CI.KUnit: success " Patchwork
2026-09-07 18:52 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-07 19:35 ` ✓ i915.CI.BAT: " Patchwork
2026-09-07 23:00 ` ✓ Xe.CI.FULL: " Patchwork
2026-09-08 3:25 ` [PATCH 1/2] " Murthy, Arun R
2026-09-08 9:13 ` Imre Deak [this message]
2026-09-08 4:45 ` ✓ i915.CI.Full: success for series starting with [1/2] " Patchwork
2026-09-10 9:31 ` [PATCH 1/2] " Luca Coelho
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=ap_Q6_BX4Rv0DntW@ideak-desk.lan \
--to=imre.deak@intel.com \
--cc=arun.r.murthy@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=stable@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.