✗ CI.checkpatch: warning for series starting with [v5,1/2] drm/xe/query: Define and use a constant for the number of masks

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 25 11:42:05 UTC 2024


== Series Details ==

Series: series starting with [v5,1/2] drm/xe/query: Define and use a constant for the number of masks
URL   : https://patchwork.freedesktop.org/series/131573/
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
a9eb1ac8298ef9f9146567c29fa762d8e9efa1ef
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 0aae46da1f2beb88ecce5fbc627b905fa9c7d93f
Author: Francois Dugast <francois.dugast at intel.com>
Date:   Mon Mar 25 11:14:39 2024 +0000

    drm/xe/uapi: Add L3 bank mask to topology query
    
    The Metrics Discovery Application Programming Interface (MDAPI) exposes
    disaggregated metrics only for available instances of hardware, therefore
    it needs to know exactly which L3 banks are enabled on the device. The L3
    count is not sufficient information as in some configurations the L3
    banks might be individually enabled or disabled. This is why the topology
    query is here extended to provide the L3 bank mask.
    
    v2:
    - Remove "Fixes" and make uAPI change explicit in commit message
      (Lucas De Marchi and Matt Roper)
    - Add separate conditions for Xe2 and for PVC (Matt Roper)
    - Return the L3 bank mask instead of the L3 node mask and the L3
      banks per node mask, as the node mask can be derived from the
      bank mask by user space, just like slice masks are derived from
      subslice masks today (Francois Dugast)
    
    v3: Use TOPO_NUMBER_OF_MASKS for the number of masks (Zhanjun Dong)
    
    v4: Detail the user space need in commit message (Lucas De Marchi)
    
    Bspec: 52545, 52546, 62482
    Signed-off-by: Francois Dugast <francois.dugast at intel.com>
    Cc: Jonathan Cavitt <jonathan.cavitt at intel.com>
    Cc: Robert Krzemien <robert.krzemien at intel.com>
    Cc: Matt Roper <matthew.d.roper at intel.com>
    Cc: Zhanjun Dong <zhanjun.dong at intel.com>
    Cc: Lucas De Marchi <lucas.demarchi at intel.com>
    Link: https://github.com/intel/metrics-discovery
+ /mt/dim checkpatch fc736bbab7abcae683f52604591fe16cf2a85b3e drm-intel
271855f33834 drm/xe/query: Define and use a constant for the number of masks
0aae46da1f2b drm/xe/uapi: Add L3 bank mask to topology query
-:168: WARNING:NEW_TYPEDEFS: do not add new typedefs
#168: FILE: drivers/gpu/drm/xe/xe_gt_types.h:36:
+typedef unsigned long xe_l3_bank_mask_t[BITS_TO_LONGS(XE_MAX_L3_BANK_FUSE_BITS)];

total: 0 errors, 1 warnings, 0 checks, 166 lines checked




More information about the Intel-xe mailing list