[PATCH v3 0/2] Add debugfs node to expose G-state and pcie link state residency

Poosa, Karthik karthik.poosa at intel.com
Thu Jun 5 10:15:15 UTC 2025


On 05-06-2025 15:32, Poosa, Karthik wrote:
> You can simplify cover letter title to: Add debugfs for G-state and 
> PCIe link states residency
>
> On 03-06-2025 23:42, Soham Purkait wrote:
>
>>      This patch exposes G-state and pcie link state residency
>> counter values through debugfs for G2, G6, G8, G10, ModS and
>> L0, L1, L1.2 respectively.
> This patch series creates debugfs for dGPU G-states (G2, G6, G8, G10, 
> ModS) and
> PCIe link states(L0, L1, L1_2), residency counters.

1. You can provide an example of debugfs node and its output here.

2. Please fix checkpatch errors:
WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line 
(possible unwrapped commit description?)

you'll need to run
./scripts/checkpatch.pl --strict FOO.patch

and fix the errors and check again,

There shall be no errors and warnings.

>
>>
>> Soham Purkait (2):
>>    drm/xe/xe_debugfs: Exposure of G-State and pcie link state residency
>>      counters through debugfs
>>    drm/xe/regs/xe_pmt: Macros for G-State and pcie link state residency
>>      offset
>>
>>   drivers/gpu/drm/xe/regs/xe_pmt.h | 10 ++++
>>   drivers/gpu/drm/xe/xe_debugfs.c  | 99 ++++++++++++++++++++++++++++++++
>>   2 files changed, 109 insertions(+)
>>


More information about the Intel-xe mailing list