✗ CI.checkpatch: warning for drm/xe/pmu: PMU interface for Xe (rev4)
Patchwork
patchwork at emeril.freedesktop.org
Fri Nov 8 18:26:29 UTC 2024
== Series Details ==
Series: drm/xe/pmu: PMU interface for Xe (rev4)
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 18d5e995636c8d99f5c3ecd0413d6714f3cd7f19
Author: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
Date: Fri Nov 8 10:15:12 2024 -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-gt0/ [Kernel PMU event]
xe_0000_00_02.0/actual-frequency-gt1/ [Kernel PMU event]
xe_0000_00_02.0/requested-frequency-gt0/ [Kernel PMU event]
xe_0000_00_02.0/requested-frequency-gt1/ [Kernel PMU event]
Standard perf commands can be used to monitor GT frequency-
$ perf stat -e xe_0000_00_02.0/requested-frequency-gt0/ -I1000
1.001175175 700 M xe/requested-frequency-gt0/
2.005891881 703 M xe/requested-frequency-gt0/
3.007318169 700 M xe/requested-frequency-gt0/
Actual/requested frequencies will be 0 when GT is suspended.
v2: Checkpatch fix, moved timer code to this patch
v3: Fix kunit issue
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
+ /mt/dim checkpatch 7881884ed71da8aae8eb6b6e910c2fbce09a7436 drm-intel
09c14406fa60 drm/xe/pmu: Enable PMU interface
-:112: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#112:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 732 lines checked
b50c3fc9768d drm/xe/pmu: Add GT C6 events
18d5e995636c drm/xe/pmu: Add GT frequency events
-:104: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#104: FILE: drivers/gpu/drm/xe/xe_pmu.c:145:
+ BITS_PER_TYPE(typeof_member(struct xe_pmu,
+ enable)) - 1);
total: 0 errors, 0 warnings, 1 checks, 405 lines checked
More information about the Intel-xe
mailing list