From: "Pottumuttu, Sai Teja" <sai.teja.pottumuttu@intel.com>
To: Shekhar Chauhan <shekhar.chauhan@intel.com>,
<intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH] drm/xe/xe2: Add performance turning changes
Date: Mon, 5 Aug 2024 12:01:29 +0530 [thread overview]
Message-ID: <53e43d97-ab50-4928-9b88-d827737ead76@intel.com> (raw)
In-Reply-To: <20240805053710.877119-1-shekhar.chauhan@intel.com>
On 05-08-2024 11:07, Shekhar Chauhan wrote:
> Update performance tuning according to the hardware spec.
>
> Bspec: 72161
> Signed-off-by: Shekhar Chauhan <shekhar.chauhan@intel.com>
Just a small typo in the patch subject, it should be tuning not turning.
With that addressed,
Reviewed-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
> ---
> drivers/gpu/drm/xe/regs/xe_gt_regs.h | 4 ++++
> drivers/gpu/drm/xe/xe_tuning.c | 8 +++++++-
> 2 files changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> index c50643ab4c84..2c8c4d4218db 100644
> --- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> +++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> @@ -80,6 +80,9 @@
> #define LE_CACHEABILITY_MASK REG_GENMASK(1, 0)
> #define LE_CACHEABILITY(value) REG_FIELD_PREP(LE_CACHEABILITY_MASK, value)
>
> +#define STATELESS_COMPRESSION_CTRL XE_REG(0x4148)
> +#define UNIFIED_COMPRESSION_FORMAT REG_GENMASK(3, 0)
> +
> #define XE2_GAMREQSTRM_CTRL XE_REG(0x4194)
> #define CG_DIS_CNTLBUS REG_BIT(6)
>
> @@ -193,6 +196,7 @@
> #define GSCPSMI_BASE XE_REG(0x880c)
>
> #define CCCHKNREG1 XE_REG_MCR(0x8828)
> +#define L3CMPCTRL REG_BIT(23)
> #define ENCOMPPERFFIX REG_BIT(18)
>
> /* Fuse readout registers for GT */
> diff --git a/drivers/gpu/drm/xe/xe_tuning.c b/drivers/gpu/drm/xe/xe_tuning.c
> index 3817b7743b0c..faa1bf42e50e 100644
> --- a/drivers/gpu/drm/xe/xe_tuning.c
> +++ b/drivers/gpu/drm/xe/xe_tuning.c
> @@ -39,7 +39,8 @@ static const struct xe_rtp_entry_sr gt_tunings[] = {
> },
> { XE_RTP_NAME("Tuning: Compression Overfetch"),
> XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED)),
> - XE_RTP_ACTIONS(CLR(CCCHKNREG1, ENCOMPPERFFIX)),
> + XE_RTP_ACTIONS(CLR(CCCHKNREG1, ENCOMPPERFFIX),
> + SET(CCCHKNREG1, L3CMPCTRL))
> },
> { XE_RTP_NAME("Tuning: Enable compressible partial write overfetch in L3"),
> XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED)),
> @@ -50,6 +51,11 @@ static const struct xe_rtp_entry_sr gt_tunings[] = {
> XE_RTP_ACTIONS(SET(L3SQCREG2,
> COMPMEMRD256BOVRFETCHEN))
> },
> + { XE_RTP_NAME("Tuning: Stateless compression control"),
> + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED)),
> + XE_RTP_ACTIONS(FIELD_SET(STATELESS_COMPRESSION_CTRL, UNIFIED_COMPRESSION_FORMAT,
> + REG_FIELD_PREP(UNIFIED_COMPRESSION_FORMAT, 0)))
> + },
> {}
> };
>
next prev parent reply other threads:[~2024-08-05 6:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 5:37 [PATCH] drm/xe/xe2: Add performance turning changes Shekhar Chauhan
2024-08-05 5:42 ` ✓ CI.Patch_applied: success for " Patchwork
2024-08-05 5:43 ` ✓ CI.checkpatch: " Patchwork
2024-08-05 5:44 ` ✓ CI.KUnit: " Patchwork
2024-08-05 5:56 ` ✓ CI.Build: " Patchwork
2024-08-05 5:58 ` ✓ CI.Hooks: " Patchwork
2024-08-05 5:59 ` ✓ CI.checksparse: " Patchwork
2024-08-05 6:21 ` ✗ CI.BAT: failure " Patchwork
2024-08-06 21:32 ` Matt Roper
2024-08-05 6:31 ` Pottumuttu, Sai Teja [this message]
2024-08-05 7:16 ` ✗ CI.FULL: " Patchwork
2024-08-06 21:37 ` Matt Roper
2024-08-06 3:57 ` [PATCH] " Jahagirdar, Akshata
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=53e43d97-ab50-4928-9b88-d827737ead76@intel.com \
--to=sai.teja.pottumuttu@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=shekhar.chauhan@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