✗ CI.checkpatch: warning for drm/xe/pmu: Add GT frequency events (rev6)
Patchwork
patchwork at emeril.freedesktop.org
Tue Mar 25 00:29:33 UTC 2025
== Series Details ==
Series: drm/xe/pmu: Add GT frequency events (rev6)
URL : https://patchwork.freedesktop.org/series/144164/
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
cbb4e4a079d89106c2736adc3c7de6f9dc56da07
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 85ffe99829e1946ba85c454509a2c2dead375da6
Author: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
Date: Mon Mar 24 16:24:02 2025 -0700
drm/xe/pmu: Add GT frequency events
Define PMU events for GT frequency (actual and requested). The
instantaneous values for these frequencies will be displayed.
Following PMU events are being added:
xe_0000_00_02.0/gt-actual-frequency/ [Kernel PMU event]
xe_0000_00_02.0/gt-requested-frequency/ [Kernel PMU event]
Standard perf commands can be used to monitor GT frequency:
$ perf stat -e xe_0000_00_02.0/gt-requested-frequency,gt=0/ -I1000
1.001229762 1483 Mhz xe_0000_00_02.0/gt-requested-frequency,gt=0/
2.006175406 1483 Mhz xe_0000_00_02.0/gt-requested-frequency,gt=0/
v2: Use locks while storing/reading samples, keep track of multiple
clients (Lucas) and other general cleanup.
v3: Review comments (Lucas) and use event counts instead of mask for
active events.
v4: Add freq events to event_param_valid method (Riana)
v5: Use instantaneous values instead of aggregating (Lucas)
Cc: Riana Tauro <riana.tauro at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
+ /mt/dim checkpatch d59baa9838223beffa7bde82f8cd29e743f4b410 drm-intel
85ffe99829e1 drm/xe/pmu: Add GT frequency events
-:94: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u32' over 'uint32_t'
#94: FILE: drivers/gpu/drm/xe/xe_pmu.c:289:
+ uint32_t id = config_to_event_id(event->attr.config);
-:122: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#122: FILE: drivers/gpu/drm/xe/xe_pmu.c:449:
+XE_EVENT_ATTR_SIMPLE(gt-actual-frequency, gt_actual_frequency,
^
-:122: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#122: FILE: drivers/gpu/drm/xe/xe_pmu.c:449:
+XE_EVENT_ATTR_SIMPLE(gt-actual-frequency, gt_actual_frequency,
^
-:124: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#124: FILE: drivers/gpu/drm/xe/xe_pmu.c:451:
+XE_EVENT_ATTR_SIMPLE(gt-requested-frequency, gt_requested_frequency,
^
-:124: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#124: FILE: drivers/gpu/drm/xe/xe_pmu.c:451:
+XE_EVENT_ATTR_SIMPLE(gt-requested-frequency, gt_requested_frequency,
^
total: 0 errors, 0 warnings, 5 checks, 106 lines checked
More information about the Intel-xe
mailing list