From: "Govindapillai, Vinod" <vinod.govindapillai@intel.com>
To: "Shankar, Uma" <uma.shankar@intel.com>,
"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Cc: "Kandpal, Suraj" <suraj.kandpal@intel.com>
Subject: Re: [v3 2/2] drm/i915/xe3p/bw: Update bw calculation to account for 16 channels
Date: Thu, 16 Jul 2026 09:49:53 +0000 [thread overview]
Message-ID: <e49302d4c6b3cb00dfb0be8762fb3a776a63f278.camel@intel.com> (raw)
In-Reply-To: <20260715143243.4141208-3-uma.shankar@intel.com>
On Wed, 2026-07-15 at 20:02 +0530, Uma Shankar wrote:
> Wa_16030862157:
> Update Bandwidth Calculation to account for 16channel memory
> config.
>
> v2: Logical separation of changes (Suraj, Vinod)
>
> WA: 16030862157, 16030875223
> Bspec: 69131, 68859
> Assisted-by: Claude:claude-opus-4-8
> Signed-off-by: Uma Shankar <uma.shankar@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_bw.c | 20 +++++++++++++++++---
> 1 file changed, 17 insertions(+), 3 deletions(-)
>
pls have a look at the patch subject/description format changes
suggested by Suraj Otherwise LGTM
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
> diff --git a/drivers/gpu/drm/i915/display/intel_bw.c
> b/drivers/gpu/drm/i915/display/intel_bw.c
> index 41539fdfeac5..aaa0350dca78 100644
> --- a/drivers/gpu/drm/i915/display/intel_bw.c
> +++ b/drivers/gpu/drm/i915/display/intel_bw.c
> @@ -14,6 +14,7 @@
> #include "intel_display_regs.h"
> #include "intel_display_types.h"
> #include "intel_display_utils.h"
> +#include "intel_display_wa.h"
> #include "intel_dram.h"
> #include "intel_mchbar.h"
> #include "intel_parent.h"
> @@ -272,7 +273,14 @@ static int icl_get_qgv_points(struct
> intel_display *display,
> case INTEL_DRAM_LPDDR4:
> case INTEL_DRAM_LPDDR5:
> qi->t_bl = 16;
> - qi->max_numchannels = 8;
> + /*
> + * Wa_16030862157
> + * Xe3p supports a fully-populated 16-
> channel LPDDR
> + * config (4 memory controllers x 4
> channels); earlier
> + * D14+ platforms top out at 8.
> + */
> + qi->max_numchannels =
> + intel_display_wa(display,
> INTEL_DISPLAY_WA_16030862157) ? 16 : 8;
> qi->channel_width = 16;
> qi->deinterleave = 4;
> break;
> @@ -624,10 +632,16 @@ static int tgl_get_bw_info(struct intel_display
> *display,
>
> ipqdepth = min(ipqdepthpch, display_bw_params->displayrtids
> / num_channels);
> /*
> + * Wa_16030862157
> * clperchgroup = 4kpagespermempage * clperchperblock,
> - * clperchperblock = 8 / num_channels * interleave
> + * clperchperblock = max(8 / num_channels, 1) * interleave
> + *
> + * The 8 / num_channels truncating divide collapses to 0 for
> + * >8-channel configs (16-channel: 8 / 16 = 0); the max(...,
> 1) floor
> + * keeps clperchperblock >= 1 there while preserving the
> literal
> + * truncating divide for <=8-channel configs.
> */
> - clperchgroup = 4 * (8 / num_channels) * qi.deinterleave;
> + clperchgroup = 4 * max(8 / num_channels, 1) *
> qi.deinterleave;
>
> display->bw.num_qgv_points = qi.num_qgv_points;
> display->bw.num_psf_gv_points = qi.num_psf_points;
next prev parent reply other threads:[~2026-07-16 9:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 14:32 [v3 0/2] drm/i915/display: Implement Display Wa_16030862157 Uma Shankar
2026-07-15 14:32 ` [v3 1/2] drm/i915/xe3p/dram: Interpret 0xF populated-channel count as 16 Uma Shankar
2026-07-16 2:40 ` Kandpal, Suraj
2026-07-16 9:47 ` Govindapillai, Vinod
2026-07-15 14:32 ` [v3 2/2] drm/i915/xe3p/bw: Update bw calculation to account for 16 channels Uma Shankar
2026-07-16 2:41 ` Kandpal, Suraj
2026-07-16 9:49 ` Govindapillai, Vinod [this message]
2026-07-15 16:42 ` ✓ i915.CI.BAT: success for drm/i915/display: Implement Display Wa_16030862157 (rev2) Patchwork
2026-07-15 21:59 ` ✗ i915.CI.Full: failure " Patchwork
2026-07-17 15:47 ` ✓ i915.CI.Full: success " 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=e49302d4c6b3cb00dfb0be8762fb3a776a63f278.camel@intel.com \
--to=vinod.govindapillai@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=suraj.kandpal@intel.com \
--cc=uma.shankar@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