Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Poosa, Karthik" <karthik.poosa@intel.com>
To: "Gupta, Anshuman" <anshuman.gupta@intel.com>,
	"Purkait, Soham" <soham.purkait@intel.com>,
	"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
	"Nilawar, Badal" <badal.nilawar@intel.com>,
	 "Tauro, Riana" <riana.tauro@intel.com>,
	"Cavitt, Jonathan" <jonathan.cavitt@intel.com>
Cc: "De Marchi, Lucas" <lucas.demarchi@intel.com>,
	"Dixit, Ashutosh" <ashutosh.dixit@intel.com>,
	"Nikula, Jani" <jani.nikula@intel.com>
Subject: Re: [PATCH v5 1/2] drm/xe/regs/xe_pmt: Macros for G-State and pcie link state residency offset
Date: Tue, 24 Jun 2025 18:40:14 +0530	[thread overview]
Message-ID: <f934197c-e4bd-4515-b225-393332b78060@intel.com> (raw)
In-Reply-To: <CY5PR11MB62112134B7E3BECB3514228C957EA@CY5PR11MB6211.namprd11.prod.outlook.com>


On 22-06-2025 11:27, Gupta, Anshuman wrote:
>
>> -----Original Message-----
>> From: Purkait, Soham <soham.purkait@intel.com>
>> Sent: Friday, June 20, 2025 5:34 PM
>> To: intel-xe@lists.freedesktop.org; Gupta, Anshuman
>> <anshuman.gupta@intel.com>; Nilawar, Badal <badal.nilawar@intel.com>;
>> Poosa, Karthik <karthik.poosa@intel.com>; Tauro, Riana
>> <riana.tauro@intel.com>; Cavitt, Jonathan <jonathan.cavitt@intel.com>
>> Cc: De Marchi, Lucas <lucas.demarchi@intel.com>; Purkait, Soham
>> <soham.purkait@intel.com>; Dixit, Ashutosh <ashutosh.dixit@intel.com>;
>> Nikula, Jani <jani.nikula@intel.com>
>> Subject: [PATCH v5 1/2] drm/xe/regs/xe_pmt: Macros for G-State and pcie link
>> state residency offset
>>
>>     Add G-State residency and pcie link state residency offset macros for G2, G6,
>> G8, G10, ModS and L0, L1, L1.2 respectively.
>>
>> v1 : Moved offset macros to drm/xe/regs/xe_pmt. (Riana)
Move offset
>>
>> v5 : Reordered commits to reflect the correct dependency hierarchy.
The need not be mentioned here. Having this mentioned in cover letter 
should be fine.
>> (Jonathan)
>>
>> Signed-off-by: Soham Purkait <soham.purkait@intel.com>
>> ---
>>   drivers/gpu/drm/xe/regs/xe_pmt.h | 10 ++++++++++
>>   1 file changed, 10 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/xe/regs/xe_pmt.h
>> b/drivers/gpu/drm/xe/regs/xe_pmt.h
>> index b0efd9b48d1e..4e377b6eac92 100644
>> --- a/drivers/gpu/drm/xe/regs/xe_pmt.h
>> +++ b/drivers/gpu/drm/xe/regs/xe_pmt.h
>> @@ -21,4 +21,14 @@
>>   #define SG_REMAP_INDEX1			XE_REG(SOC_BASE + 0x08)
>>   #define   SG_REMAP_BITS			REG_GENMASK(31, 24)
>>
>> +#define BMG_G2_RESIDENCY_OFFSET			(0x530)
>> +#define BMG_G6_RESIDENCY_OFFSET			(0x538)
>> +#define BMG_G8_RESIDENCY_OFFSET			(0x540)
>> +#define BMG_G10_RESIDENCY_OFFSET		(0x548)
>> +#define BMG_MODS_RESIDENCY_OFFSET		(0x4D0)
>> +
>> +#define PCIE_LINK_L0_RESIDENCY_COUNTER		(0x570)
>> +#define PCIE_LINK_L1_RESIDENCY_COUNTER		(0x578)
>> +#define PCIE_LINK_L1_2_RESIDENCY_COUNTER	(0x580)
> If these are BMG specific offset, these should be prefixed with BMG.
>
> Thanks,
> Anshuman.
Agree with Anshuman on this.
>> +
>>   #endif
>> --
>> 2.34.1

  reply	other threads:[~2025-06-24 13:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-20 12:03 [PATCH v5 0/2] Add debugfs node to expose G-state and pcie link state residency Soham Purkait
2025-06-20 12:03 ` [PATCH v5 1/2] drm/xe/regs/xe_pmt: Macros for G-State and pcie link state residency offset Soham Purkait
2025-06-22  5:57   ` Gupta, Anshuman
2025-06-24 13:10     ` Poosa, Karthik [this message]
2025-06-20 12:03 ` [PATCH v5 2/2] drm/xe/xe_debugfs: Exposure of G-State and pcie link state residency counters through debugfs Soham Purkait
2025-06-24 13:01   ` Poosa, Karthik
2025-06-20 12:28 ` ✗ CI.checkpatch: warning for Add debugfs node to expose G-state and pcie link state residency (rev3) Patchwork
2025-06-20 12:29 ` ✓ CI.KUnit: success " Patchwork
2025-06-20 22:52 ` ✗ Xe.CI.Full: failure " 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=f934197c-e4bd-4515-b225-393332b78060@intel.com \
    --to=karthik.poosa@intel.com \
    --cc=anshuman.gupta@intel.com \
    --cc=ashutosh.dixit@intel.com \
    --cc=badal.nilawar@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=jonathan.cavitt@intel.com \
    --cc=lucas.demarchi@intel.com \
    --cc=riana.tauro@intel.com \
    --cc=soham.purkait@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