From: "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com>
To: Juasheem Sultan <jdsultan@google.com>,
<intel-gfx@lists.freedesktop.org>,
<intel-xe@lists.freedesktop.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>,
Gil Dekel <gildekel@google.com>
Subject: Re: [PATCH v3] drm/i915/dp: Handle VSC SDP revision 7 in unpack
Date: Wed, 3 Jun 2026 17:10:07 +0530 [thread overview]
Message-ID: <68143a59-ca3f-4e57-997a-8342021ffd53@intel.com> (raw)
In-Reply-To: <20260602205422.1792007-1-jdsultan@google.com>
On 6/3/2026 2:24 AM, Juasheem Sultan wrote:
> VSC SDP revision 7 (Panel Replay + Pixel Encoding/Colorimetry Format)
> unpacking is missing in intel_dp_vsc_sdp_unpack(). This causes pipe
> state mismatches during state readout because the VSC SDP state is not
> properly recovered when Panel Replay is active with colorimetry.
>
> Add the missing case for revision 7 to intel_dp_vsc_sdp_unpack()
> so that the state is correctly recovered.
>
> v2: Rebase onto latest upstream
> v3: Fix git commit description
>
LGTM.
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
> Cc: Jani Nikula <jani.nikula@linux.intel.com>
> Cc: Chaitanya Borah <chaitanya.kumar.borah@intel.com>
> Cc: Gil Dekel <gildekel@google.com>
> Signed-off-by: Juasheem Sultan <jdsultan@google.com>
> ---
> drivers/gpu/drm/i915/display/intel_dp.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index 6ef2a0043cda..b8746dab051c 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -5343,11 +5343,15 @@ static int intel_dp_vsc_sdp_unpack(struct drm_dp_vsc_sdp *vsc,
> * VSC SDP supporting 3D stereo + Panel Replay.
> */
> return 0;
> - } else if (sdp->sdp_header.HB2 == 0x5 && sdp->sdp_header.HB3 == 0x13) {
> + } else if ((sdp->sdp_header.HB2 == 0x5 || sdp->sdp_header.HB2 == 0x7) &&
> + sdp->sdp_header.HB3 == 0x13) {
> /*
> * - HB2 = 0x5, HB3 = 0x13
> * VSC SDP supporting 3D stereo + PSR2 + Pixel Encoding/Colorimetry
> * Format.
> + * - HB2 = 0x7, HB3 = 0x13
> + * VSC SDP supporting 3D stereo + Panel Replay + Pixel Encoding/Colorimetry
> + * Format.
> */
> vsc->pixelformat = (sdp->db[16] >> 4) & 0xf;
> vsc->colorimetry = sdp->db[16] & 0xf;
next prev parent reply other threads:[~2026-06-03 11:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260601212613.3682640-1-jdsultan@google.com>
2026-06-02 20:54 ` [PATCH v3] drm/i915/dp: Handle VSC SDP revision 7 in unpack Juasheem Sultan
2026-06-03 11:40 ` Borah, Chaitanya Kumar [this message]
[not found] ` <CA++eeRM5PbFq79Yw9xECRaat_Ju759Xrc_7=F-R1viCsLFREfg@mail.gmail.com>
2026-09-21 13:02 ` Nautiyal, Ankit K
2026-09-21 14:31 ` Gil Dekel
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=68143a59-ca3f-4e57-997a-8342021ffd53@intel.com \
--to=chaitanya.kumar.borah@intel.com \
--cc=gildekel@google.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=jdsultan@google.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