[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: Add sysfs entry for tile and relate it to GTs (rev4)

Patchwork patchwork at emeril.freedesktop.org
Thu Jun 22 07:57:45 UTC 2023


== Series Details ==

Series: drm/xe: Add sysfs entry for tile and relate it to GTs (rev4)
URL   : https://patchwork.freedesktop.org/series/118927/
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
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 29353f13da528fc5a996492cff29a26627d9250e
Author: Tejas Upadhyay <tejas.upadhyay at intel.com>
Date:   Thu Jun 22 12:58:18 2023 +0530

    drm/xe: Add sysfs entry to report per tile memory size
    
    Add sysfs entry to read per tile physical memory
    including stolen memory.
    
    V4:
      - %s/addr_range/physical_vram_size_byes, make it
        user readable name - Joonas/Aravind
      - Display in bytes - Joonas/Aravind
    V3:
      - Exclude DG1, replace sysfs_create_file/files - Aravind
    V2:
      - Use DEVICE_ATTR_RO - Aravind
      - Dont put kobj on sysfs_file_create fail - Himal
      - Skip addr_range sysfs create for non dgfx - Himal
    
    Reviewed-by: Aravind Iddamsetty <aravind.iddamsetty at intel.com>
    Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
+ /mt/dim checkpatch bf01ddde17686463166a5006a6521f71c3df771a drm-intel
134092d93 drm/xe: Add sysfs entry for tile
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:81: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#81: 
new file mode 100644

-:103: WARNING:CONST_STRUCT: struct kobj_type should normally be const
#103: FILE: drivers/gpu/drm/xe/xe_tile_sysfs.c:18:
+static struct kobj_type xe_tile_sysfs_kobj_type = {

total: 0 errors, 2 warnings, 0 checks, 144 lines checked
bd1322245 drm/xe: Add GTs under respective tile sysfs
29353f13d drm/xe: Add sysfs entry to report per tile memory size




More information about the Intel-xe mailing list