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

Patchwork patchwork at emeril.freedesktop.org
Thu Mar 21 15:29:09 UTC 2024


== Series Details ==

Series: series starting with [v4,1/2] drm/xe/query: Define and use a constant for the number of masks
URL   : https://patchwork.freedesktop.org/series/131427/
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 24a851d0363ac076332b0a29d43fd2d06024fec1
Author: Francois Dugast <francois.dugast at intel.com>
Date:   Thu Mar 21 14:25:21 2024 +0000

    drm/xe/uapi: Add L3 bank mask to topology query
    
    Extend the existing topology uAPI to expose the masks of L3 banks
    to user space. L3 count is not sufficient because in some configuration
    not all banks are enabled. User space needs to know which ones are
    enabled, in the context of OA.
    
    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)
    
    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>
+ /mt/dim checkpatch 0cd99ca612f004f19c35f4966a584f0a729bbc31 drm-intel
a78b425656bc drm/xe/query: Define and use a constant for the number of masks
24a851d0363a drm/xe/uapi: Add L3 bank mask to topology query
-:162: WARNING:NEW_TYPEDEFS: do not add new typedefs
#162: 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