From: sashiko-bot@kernel.org
To: "Ankit Nautiyal" <ankit.k.nautiyal@intel.com>,
intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v5 04/15] drm/i915/dp: Add PCON DSC state to crtc_state
Date: Fri, 04 Dec 2026 09:43:09 +0000 [thread overview]
Message-ID: <sashiko-outbox-249533@kernel.org> (raw)
In-Reply-To: <20261204085746.391918-5-ankit.k.nautiyal@intel.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/i915/dp: intel_pipe_config_compare() omits pcon_config on
fastset
--
commit 11d426d40cc5b9c42754f59b9f85ca99d5db238b
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drm/i915/dp: Add PCON DSC state to crtc_state
This commit adds pcon_config to struct intel_crtc_state to track DP->HDMI
PCON DSC operation and encoder override parameters, resets it in
intel_dp_dsc_reset_config(), and prints it in intel_crtc_state_dump().
> diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
> index 514ca067e1399..0103ac5697276 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_types.h
> +++ b/drivers/gpu/drm/i915/display/intel_display_types.h
[ ... ]
> @@ -1370,6 +1387,16 @@ struct intel_crtc_state {
> struct drm_dsc_config config;
> } dsc;
>
> + /*
> + * Configuration of a DP->HDMI PCON. Only used for state computation,
> + * not read out from the HW.
> + */
> + struct {
> + enum intel_pcon_dsc_op dsc_op;
> + /* Only valid for INTEL_PCON_DSC_DECODE_ENCODE */
> + struct intel_pcon_dsc_enc_config dsc_enc;
> + } pcon_config;
> +
> /* DP tunnel used for BW allocation. */
> struct drm_dp_tunnel_ref dp_tunnel_ref;
[Severity: Medium]
Should intel_pipe_config_compare() compare pcon_config when fastset is
true?
Since pcon_config is not read out from hardware, it cannot be checked
during state verification. However, intel_crtc_check_fastset() calls
intel_pipe_config_compare(..., true) to downgrade modesets to fastsets,
and intel_ddi_update_pipe_dp() does not reprogram the PCON.
If the HDMI sink behind an active PCON is swapped for one with different
capabilities, intel_dp_detect() updates the sink caps in place. A later
commit setting mode_changed (such as changing HDR_OUTPUT_METADATA) then
computes a new pcon_config while DP-side fields match.
intel_crtc_check_fastset() downgrades that commit to a fastset, skipping
PCON reprogramming and leaving HDMI output blank or corrupted until a full
modeset occurs. Comparing pcon_config under if (fastset) would force a
full modeset on changes without affecting state readout verification.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204085746.391918-1-ankit.k.nautiyal@intel.com?part=4
next prev parent reply other threads:[~2026-12-04 9:43 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 8:57 [PATCH v5 00/15] DP-HDMI PCON DSC fixes Ankit Nautiyal
2026-12-04 8:57 ` [PATCH v5 01/15] drm/i915/dp: Forget the PCON FRL training state on a long HPD Ankit Nautiyal
2026-12-04 9:45 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 02/15] drm/i915/dp: Account for FRL 16b/18b encoding overhead Ankit Nautiyal
2026-12-04 9:36 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 03/15] drm/i915/hdmi: Clamp the target_bpp only when it equals the link bpp Ankit Nautiyal
2026-12-04 8:57 ` [PATCH v5 04/15] drm/i915/dp: Add PCON DSC state to crtc_state Ankit Nautiyal
2026-12-04 9:43 ` sashiko-bot [this message]
2026-12-04 8:57 ` [PATCH v5 05/15] drm/dp: Add a helper to disable the PCON DSC encoder Ankit Nautiyal
2026-12-04 8:57 ` [PATCH v5 06/15] drm/i915/dp: Compute the PCON DSC operation Ankit Nautiyal
2026-12-04 9:38 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 07/15] drm/i915/dp: Disable the PCON DSC encoder unless it is needed Ankit Nautiyal
2026-12-04 9:38 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 08/15] drm/i915/dp: Clamp PCON DSC bpp to the FRL link bandwidth Ankit Nautiyal
2026-12-04 9:33 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 09/15] drm/i915/dp: Add a helper for the FRL payload bandwidth Ankit Nautiyal
2026-12-04 8:57 ` [PATCH v5 10/15] drm/i915/dp: Compute the PCON DSC encoder parameters Ankit Nautiyal
2026-12-04 9:52 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 11/15] drm/i915/dp: Retrain the PCON FRL link from the link check work Ankit Nautiyal
2026-12-04 9:52 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 12/15] drm/i915/dp: Store the PCON FRL rate in the crtc state Ankit Nautiyal
2026-12-04 10:00 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 13/15] drm/i915/dp: Use the FRL rate of the stream on the HDMI link Ankit Nautiyal
2026-12-04 9:58 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 14/15] drm/i915/dp: Pick the bpc for a PCON DSC stream Ankit Nautiyal
2026-12-04 9:58 ` sashiko-bot
2026-12-04 8:57 ` [PATCH v5 15/15] drm/i915/dp: Allow PCON DSC modes through the FRL bw check Ankit Nautiyal
2026-12-04 9:53 ` sashiko-bot
2026-12-04 9:31 ` ✓ CI.KUnit: success for DP-HDMI PCON DSC fixes (rev5) Patchwork
2026-12-04 10:10 ` ✓ Xe.CI.BAT: " Patchwork
2026-12-04 11:05 ` ✗ i915.CI.BAT: 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=sashiko-outbox-249533@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=ankit.k.nautiyal@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=sashiko-reviews@lists.linux.dev \
/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.