✗ CI.checkpatch: warning for drm/xe/pmu: Add GT frequency events (rev8)

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 31 20:53:46 UTC 2025


== Series Details ==

Series: drm/xe/pmu: Add GT frequency events (rev8)
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
99e5a866b5e13f134e606a3e29d9508d97826fb3
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 5681f4a8792fed75806765d05d827d05bd2d800e
Author: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
Date:   Mon Mar 31 13:48:27 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)
    v6: Obtain fwake at init for freq events as well and use non fwake
    variant method for reading requested freq to avoid lockdep issues (Lucas)
    v7: Review comments (Rodrigo, 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>
    Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
    Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
+ /mt/dim checkpatch 204a9be8ec9dd0940fbdaf9180336b156148e201 drm-intel
5681f4a8792f drm/xe/pmu: Add GT frequency events
-:158: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#158: FILE: drivers/gpu/drm/xe/xe_pmu.c:470:
+XE_EVENT_ATTR_SIMPLE(gt-actual-frequency, gt_actual_frequency,
                        ^

-:158: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#158: FILE: drivers/gpu/drm/xe/xe_pmu.c:470:
+XE_EVENT_ATTR_SIMPLE(gt-actual-frequency, gt_actual_frequency,
                               ^

-:160: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#160: FILE: drivers/gpu/drm/xe/xe_pmu.c:472:
+XE_EVENT_ATTR_SIMPLE(gt-requested-frequency, gt_requested_frequency,
                        ^

-:160: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#160: FILE: drivers/gpu/drm/xe/xe_pmu.c:472:
+XE_EVENT_ATTR_SIMPLE(gt-requested-frequency, gt_requested_frequency,
                                  ^

total: 0 errors, 0 warnings, 4 checks, 128 lines checked




More information about the Intel-xe mailing list