From: Jani Nikula <jani.nikula@linux.intel.com>
To: Suraj Kandpal <suraj.kandpal@intel.com>,
intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Cc: ankit.k.nautiyal@intel.com, imre.deak@intel.com,
mika.kahola@intel.com, Suraj Kandpal <suraj.kandpal@intel.com>
Subject: Re: [PATCH v2] drm/i915/cx0: Use the consolidated HDMI tables
Date: Mon, 22 Dec 2025 16:47:37 +0200 [thread overview]
Message-ID: <5ae2507d5aa2896cf2a23e857c00998044388426@intel.com> (raw)
In-Reply-To: <20251219034846.1434478-1-suraj.kandpal@intel.com>
On Fri, 19 Dec 2025, Suraj Kandpal <suraj.kandpal@intel.com> wrote:
> Use the consolidated HDMI tables before we try to compute them via
> algorithm. The reason is that these are the ideal values and even
> though the values calculated via the HDMI algorithm are correct but
> not always ideal. This is done for C20 and already exists for C10.
>
> Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> ---
> v1 -> v2:
> - Update commit message (Ankit)
> - Change TODO comment line (Ankit)
>
> drivers/gpu/drm/i915/display/intel_cx0_phy.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c b/drivers/gpu/drm/i915/display/intel_cx0_phy.c
> index f6d69627154e..f956a117f1f6 100644
> --- a/drivers/gpu/drm/i915/display/intel_cx0_phy.c
> +++ b/drivers/gpu/drm/i915/display/intel_cx0_phy.c
> @@ -2671,15 +2671,18 @@ static int intel_c20pll_calc_state(const struct intel_crtc_state *crtc_state,
> hw_state->cx0pll.use_c10 = false;
> hw_state->cx0pll.lane_count = crtc_state->lane_count;
>
> - /* try computed C20 HDMI tables before using consolidated tables */
> - if (!is_dp)
> - /* TODO: Update SSC state for HDMI as well */
> - err = intel_c20_compute_hdmi_tmds_pll(crtc_state, &hw_state->cx0pll.c20);
> -
> + /*
> + * Try the ideal C20 HDMI tables before trying to compute them since the values
> + * calculated even though would be correct but not ideal
> + */
Parse error. Please do something about the grammar.
BR,
Jani.
> if (err)
> err = intel_c20pll_calc_state_from_table(crtc_state, encoder,
> &hw_state->cx0pll);
>
> + /* TODO: Update SSC state for HDMI as well */
> + if (!is_dp && err)
> + err = intel_c20_compute_hdmi_tmds_pll(crtc_state, &hw_state->cx0pll.c20);
> +
> if (err)
> return err;
--
Jani Nikula, Intel
next prev parent reply other threads:[~2025-12-22 14:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-16 8:27 [PATCH] drm/i915/cx0: Use the consolidated HDMI tables Suraj Kandpal
2025-12-16 10:04 ` ✓ CI.KUnit: success for " Patchwork
2025-12-16 11:34 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-17 1:54 ` ✓ Xe.CI.Full: " Patchwork
2025-12-18 14:32 ` [PATCH] " Nautiyal, Ankit K
2025-12-19 3:48 ` [PATCH v2] " Suraj Kandpal
2025-12-22 14:47 ` Jani Nikula [this message]
2025-12-19 4:03 ` ✓ CI.KUnit: success for drm/i915/cx0: Use the consolidated HDMI tables (rev2) Patchwork
2025-12-19 4:37 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-20 8:06 ` ✗ Xe.CI.Full: failure " Patchwork
2025-12-23 6:34 ` [PATCH v3] drm/i915/cx0: Use the consolidated HDMI tables Suraj Kandpal
2025-12-23 7:29 ` ✓ CI.KUnit: success for drm/i915/cx0: Use the consolidated HDMI tables (rev3) Patchwork
2025-12-23 8:14 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-23 17:36 ` ✓ Xe.CI.Full: " 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=5ae2507d5aa2896cf2a23e857c00998044388426@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=imre.deak@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=mika.kahola@intel.com \
--cc=suraj.kandpal@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