From: "Jahagirdar, Akshata" <akshata.jahagirdar@intel.com>
To: Matt Roper <matthew.d.roper@intel.com>
Cc: <intel-xe@lists.freedesktop.org>, <tejas.upadhyay@intel.com>
Subject: Re: [PATCH v3 1/1] drm/xe/xe2: Introduce performance changes
Date: Thu, 1 Aug 2024 18:59:17 -0700 [thread overview]
Message-ID: <b90ddae7-8a9c-4cae-8b81-9931b06c27bd@intel.com> (raw)
In-Reply-To: <20240801213600.GJ2685051@mdroper-desk1.amr.corp.intel.com>
On 8/1/2024 2:36 PM, Matt Roper wrote:
> On Fri, Aug 02, 2024 at 02:39:29AM -0700, Akshata Jahagirdar wrote:
>> Add Compression Performance Improvement Changes in Xe2
>>
>> v2: Rebase
>>
>> v3: Rebase, updated as per latest changes on bspec,
>> Removed unnecessary default actions (Matt)
>> formatting nits (Tejas)
>>
>> Bspec: 72161
>> Signed-off-by: Akshata Jahagirdar <akshata.jahagirdar@intel.com>
>> ---
>> drivers/gpu/drm/xe/regs/xe_gt_regs.h | 4 ++++
>> drivers/gpu/drm/xe/xe_tuning.c | 6 ++++++
>> 2 files changed, 10 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
>> index 3b87f95f9ecf..0d6a73a3c8c7 100644
>> --- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
>> +++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
>> @@ -367,6 +367,10 @@
>> #define XEHP_L3NODEARBCFG XE_REG_MCR(0xb0b4)
>> #define XEHP_LNESPARE REG_BIT(19)
>>
>> +#define L3SQCREG2 XE_REG_MCR(0xb104)
>> +#define COMPMEMRD256BOVRFETCHEN REG_BIT(20)
>> +#define MEMRD256BOVRFETCHEN REG_BIT(14)
> Looks like we still have an tab character here where we wanted a space.
Will fix this in next one.
>
>> +
>> #define L3SQCREG3 XE_REG_MCR(0xb108)
>> #define COMPPWOVERFETCHEN REG_BIT(28)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_tuning.c b/drivers/gpu/drm/xe/xe_tuning.c
>> index 77d4eec0118d..b41fdb350411 100644
>> --- a/drivers/gpu/drm/xe/xe_tuning.c
>> +++ b/drivers/gpu/drm/xe/xe_tuning.c
>> @@ -45,6 +45,12 @@ static const struct xe_rtp_entry_sr gt_tunings[] = {
>> XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED)),
>> XE_RTP_ACTIONS(SET(L3SQCREG3, COMPPWOVERFETCHEN))
>> },
>> + { XE_RTP_NAME("Tuning: L2 Overfetch Compressible Only"),
>> + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED)),
>> + XE_RTP_ACTIONS(SET(L3SQCREG2,
>> + COMPMEMRD256BOVRFETCHEN |
>> + MEMRD256BOVRFETCHEN))
> Bit 14 = 1 here is also the hardware default, so we don't need to
> specify this one explicitly.
>
>
> Matt
Ah yes, Missed this one. WIll update in next revision.
thank you for your review! :)
Akshata
>> + },
>> {}
>> };
>>
>> --
>> 2.34.1
>>
next prev parent reply other threads:[~2024-08-02 1:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-02 9:39 [PATCH v3 0/1] drm/xe/xe2: Introduce performance changes Akshata Jahagirdar
2024-08-01 22:03 ` ✓ CI.Patch_applied: success for " Patchwork
2024-08-01 22:03 ` ✗ CI.checkpatch: warning " Patchwork
2024-08-01 22:04 ` ✓ CI.KUnit: success " Patchwork
2024-08-01 22:16 ` ✓ CI.Build: " Patchwork
2024-08-01 22:18 ` ✓ CI.Hooks: " Patchwork
2024-08-01 22:20 ` ✓ CI.checksparse: " Patchwork
2024-08-01 22:39 ` ✓ CI.BAT: " Patchwork
2024-08-02 0:47 ` ✗ CI.FULL: failure " Patchwork
2024-08-02 9:39 ` [PATCH v3 1/1] " Akshata Jahagirdar
2024-08-01 21:36 ` Matt Roper
2024-08-02 1:59 ` Jahagirdar, Akshata [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-02 14:12 [PATCH v3 0/1] " Akshata Jahagirdar
2024-08-02 14:12 ` [PATCH v3 1/1] " Akshata Jahagirdar
2024-08-02 21:28 ` Matt Roper
2024-08-02 21:38 ` Matt Roper
2024-08-05 4:17 ` Chauhan, Shekhar
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=b90ddae7-8a9c-4cae-8b81-9931b06c27bd@intel.com \
--to=akshata.jahagirdar@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
--cc=tejas.upadhyay@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