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

Patchwork patchwork at emeril.freedesktop.org
Wed Jun 28 07:11:53 UTC 2023


== Series Details ==

Series: drm/xe: Add sysfs entry for tile and relate it to GTs (rev5)
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 d2086e902d5b873976b0d3305871b5fc0597468b
Author: Tejas Upadhyay <tejas.upadhyay at intel.com>
Date:   Wed Jun 28 12:45:27 2023 +0530

    drm/xe: Make usable size of VRAM readable
    
    Current size member of vram struct does not give
    complete information as what "size" contains. Does
    it contain reserved portions or not. Name it usable
    size and accordingly describe other size members as
    well.
    
    Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
+ /mt/dim checkpatch abdb420db479bae28a2abd7ba2c66229b7e8cb77 drm-intel
aba494d76 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'
-:83: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#83: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 144 lines checked
c344ad399 drm/xe: Add GTs under respective tile sysfs
0c73a1a8b drm/xe: Add sysfs entry to report per tile memory size
d2086e902 drm/xe: Make usable size of VRAM readable
-:36: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
#36: FILE: drivers/gpu/drm/xe/xe_bo.c:128:
+	XE_BUG_ON(!tile->mem.vram.usable_size);

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




More information about the Intel-xe mailing list