✗ CI.checkpatch: warning for drm/xe/pmu: PMU interface for Xe (rev12)
Patchwork
patchwork at emeril.freedesktop.org
Wed Jan 8 19:38:25 UTC 2025
== Series Details ==
Series: drm/xe/pmu: PMU interface for Xe (rev12)
URL : https://patchwork.freedesktop.org/series/139121/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 5afc2486f55d55109cc9fb38ada69aad84655e30
Author: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
Date: Wed Jan 8 09:59:23 2025 -0800
drm/xe/pmu: Add GT frequency events
Define PMU events for GT frequency (actual and requested). This is
a port from the i915 driver implementation, where an internal timer
is used to aggregate GT frequencies over certain fixed interval.
Following PMU events are being added-
xe_0000_00_02.0/actual-frequency/ [Kernel PMU event]
xe_0000_00_02.0/requested-frequency/ [Kernel PMU event]
Standard perf commands can be used to monitor GT frequency-
$ perf stat -e xe_0000_00_02.0/requested-frequency,gt_id=0/ -I1000
1.001175175 700 M xe/requested-frequency,gt_id=0/
2.005891881 703 M xe/requested-frequency,gt_id=0/
3.007318169 700 M xe/requested-frequency,gt_id=0/
Actual/requested frequencies will be 0 when GT is suspended.
v2: Checkpatch fix, moved timer code to this patch
v3: Fix kunit issue
v4: Checkpatch warning fixes
v5: Make PMU events per device (Lucas)
v6: Reuse bits from config mask for gt_id (Lucas)
v7: Fix bug in pmu_enable (Riana)
v8: Acquire pm runtime ref before pmu lock
v9: Review comments (Rodrigo)
v10: Use xe_pm_runtime_suspended (Riana) and review
comments (Rodrigo)
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com> #v3
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
+ /mt/dim checkpatch 9cbe590862ef629f35ce9f4c2dc5c0a6a4553f48 drm-intel
3b0f932c288b drm/xe/pmu: Enable PMU interface
-:117: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#117:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 775 lines checked
5a830756808f drm/xe: Add locks in gtidle code
0f5be5662097 drm/xe/pmu: Add GT C6 events
5afc2486f55d drm/xe/pmu: Add GT frequency events
More information about the Intel-xe
mailing list