✗ CI.checkpatch: warning for xe/xe_bo_move: Enhance xe_bo_move trace (rev6)

Patchwork patchwork at emeril.freedesktop.org
Tue Feb 13 09:51:56 UTC 2024


== Series Details ==

Series: xe/xe_bo_move: Enhance xe_bo_move trace (rev6)
URL   : https://patchwork.freedesktop.org/series/128151/
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
35591fb8b4d5305b37ce31483f85ac0956eaa536
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 75c41b1740f235224257e7917fffcdac39a453e5
Author: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Date:   Tue Feb 13 15:23:54 2024 +0530

    xe/xe_bo_move: Enhance xe_bo_move trace
    
    Enhanced xe_bo_move trace to be more readable.
    It will help to show the migration details.
    Src and dst details.
    
    v2: Modify trace_xe_bo_move(), it takes the integer mem_type
    rather than a string.
    Make mem_type_to_name() extern, it will be used by trace.(Thomas)
    
    v3: Move mem_type_to_name() to xe_bo.[ch] (Thomas, Matt)
    
    v4: Add device details to reduce ambiquity related to vram0/vram1. (Oak)
    
    v5: Rename mem_type_to_name to xe_mem_type_to_name. (Thomas)
    
    Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
    Cc: Oak Zeng <oak.zeng at intel.com>
    Cc: Kempczynski Zbigniew <Zbigniew.Kempczynski at intel.com>
    Cc: Matthew Brost <matthew.brost at intel.com>
    Cc: Brian Welty <brian.welty at intel.com>
    Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
    Reviewed-by: Oak Zeng <oak.zeng at intel.com>
    Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
+ /mt/dim checkpatch e370df7a4fb4125cb8eee1b00ff1592808ed9786 drm-intel
75c41b174 xe/xe_bo_move: Enhance xe_bo_move trace
-:141: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#141: FILE: drivers/gpu/drm/xe/xe_trace.h:107:
+	    TP_STRUCT__entry(

-:149: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#149: FILE: drivers/gpu/drm/xe/xe_trace.h:115:
+	    TP_fast_assign(

-:154: WARNING:LONG_LINE: line length of 111 exceeds 100 columns
#154: FILE: drivers/gpu/drm/xe/xe_trace.h:120:
+		   strscpy(__entry->device_id, dev_name(ttm_to_xe_device(__entry->bo->ttm.bdev)->drm.dev), 12);

total: 0 errors, 1 warnings, 2 checks, 105 lines checked




More information about the Intel-xe mailing list