Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Sousa <gustavo.sousa@intel.com>
To: "Kandpal, Suraj" <suraj.kandpal@intel.com>,
	"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: RE: [PATCH] drm/i915/xe3p_lpd: Reduce lowest CDCLK PLL ratio to 18
Date: Wed, 7 Oct 2026 17:08:00 -0300	[thread overview]
Message-ID: <87cxtl9sv3.fsf@intel.com> (raw)
In-Reply-To: <DS4PPFE901A304FDA0B1EDB07E8603ECD24E3942@DS4PPFE901A304F.namprd11.prod.outlook.com>

"Kandpal, Suraj" <suraj.kandpal@intel.com> writes:

>> Subject: [PATCH] drm/i915/xe3p_lpd: Reduce lowest CDCLK PLL ratio to 18
>> 
>> The CDCLK table has been updated on Bspec to reduce the lowest PLL ratio to
>> 18 and improve voltage selection in some SKUs.  Update the driver to match
>> the new table.
>> 
>> Bspec: 68861
>> Fixes: af28e607fc75 ("drm/i915/xe3p_lpd: Add CDCLK table")
>> Cc: stable@vger.kernel.org # v6.19+
>> Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
>
> LGTM,
> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>

Thanks for the review, Suraj!

I saw a FIFO underrun on a NVL-P machine with this change, so I'm
holding off applying this for now.

The reduction of the PLL ratio implies in reduction of the MDCLK ratio,
which impacts DBUF fill times. So the FIFO underrun could be related here.

I'll check with the HW team.

--
Gustavo Sousa

>
>> ---
>>  drivers/gpu/drm/i915/display/intel_cdclk.c | 22 ++++++++++++----------
>>  1 file changed, 12 insertions(+), 10 deletions(-)
>> 
>> diff --git a/drivers/gpu/drm/i915/display/intel_cdclk.c
>> b/drivers/gpu/drm/i915/display/intel_cdclk.c
>> index 92e6fca861f6..dad5fbeaa1bd 100644
>> --- a/drivers/gpu/drm/i915/display/intel_cdclk.c
>> +++ b/drivers/gpu/drm/i915/display/intel_cdclk.c
>> @@ -1593,16 +1593,18 @@ static const struct intel_cdclk_vals
>> xe3lpd_cdclk_table[] = {  };
>> 
>>  static const struct intel_cdclk_vals xe3p_lpd_cdclk_table[] = {
>> -	{ .refclk = 38400, .cdclk = 151200, .ratio = 21, .waveform = 0xa4a4 },
>> -	{ .refclk = 38400, .cdclk = 176400, .ratio = 21, .waveform = 0xaa54 },
>> -	{ .refclk = 38400, .cdclk = 201600, .ratio = 21, .waveform = 0xaaaa },
>> -	{ .refclk = 38400, .cdclk = 226800, .ratio = 21, .waveform = 0xad5a },
>> -	{ .refclk = 38400, .cdclk = 252000, .ratio = 21, .waveform = 0xb6b6 },
>> -	{ .refclk = 38400, .cdclk = 277200, .ratio = 21, .waveform = 0xdbb6 },
>> -	{ .refclk = 38400, .cdclk = 302400, .ratio = 21, .waveform = 0xeeee },
>> -	{ .refclk = 38400, .cdclk = 327600, .ratio = 21, .waveform = 0xf7de },
>> -	{ .refclk = 38400, .cdclk = 352800, .ratio = 21, .waveform = 0xfefe },
>> -	{ .refclk = 38400, .cdclk = 378000, .ratio = 21, .waveform = 0xfffe },
>> +	{ .refclk = 38400, .cdclk = 151200, .ratio = 18, .waveform = 0xa54a },
>> +	{ .refclk = 38400, .cdclk = 172800, .ratio = 18, .waveform = 0xaaaa },
>> +	{ .refclk = 38400, .cdclk = 194400, .ratio = 18, .waveform = 0xad5a },
>> +	{ .refclk = 38400, .cdclk = 216000, .ratio = 18, .waveform = 0xb6b6 },
>> +	{ .refclk = 38400, .cdclk = 237600, .ratio = 18, .waveform = 0xdbb6 },
>> +	{ .refclk = 38400, .cdclk = 259200, .ratio = 18, .waveform = 0xeeee },
>> +	{ .refclk = 38400, .cdclk = 280800, .ratio = 18, .waveform = 0xf7de },
>> +	{ .refclk = 38400, .cdclk = 302400, .ratio = 18, .waveform = 0xfefe },
>> +	{ .refclk = 38400, .cdclk = 324000, .ratio = 18, .waveform = 0xfffe },
>> +	{ .refclk = 38400, .cdclk = 345600, .ratio = 18, .waveform = 0xffff },
>> +	{ .refclk = 38400, .cdclk = 364800, .ratio = 19, .waveform = 0xffff },
>> +	{ .refclk = 38400, .cdclk = 384000, .ratio = 20, .waveform = 0xffff },
>>  	{ .refclk = 38400, .cdclk = 403200, .ratio = 21, .waveform = 0xffff },
>>  	{ .refclk = 38400, .cdclk = 422400, .ratio = 22, .waveform = 0xffff },
>>  	{ .refclk = 38400, .cdclk = 441600, .ratio = 23, .waveform = 0xffff },
>> 
>> ---
>> base-commit: 28a2edb89a25a41d2a45e27d74dfd946872d0faf
>> change-id: 20261002-xe3p-cdclk-pll-18-59bd79cb5b4b
>> 
>> Best regards,
>> --
>> Gustavo Sousa <gustavo.sousa@intel.com>

      reply	other threads:[~2026-10-07 20:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-05 18:38 [PATCH] drm/i915/xe3p_lpd: Reduce lowest CDCLK PLL ratio to 18 Gustavo Sousa
2026-10-05 19:55 ` ✓ i915.CI.BAT: success for " Patchwork
2026-10-06  0:24 ` ✓ i915.CI.Full: " Patchwork
2026-10-07  5:56 ` [PATCH] " Kandpal, Suraj
2026-10-07 20:08   ` Gustavo Sousa [this message]

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=87cxtl9sv3.fsf@intel.com \
    --to=gustavo.sousa@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=stable@vger.kernel.org \
    --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