[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: fdinfo memory stats (rev4)

Patchwork patchwork at emeril.freedesktop.org
Fri Sep 15 21:28:50 UTC 2023


== Series Details ==

Series: drm/xe: fdinfo memory stats (rev4)
URL   : https://patchwork.freedesktop.org/series/123102/
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
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit def708840da5b23b1bf797e0dbc7838be10089fb
Author: Tejas Upadhyay <tejas.upadhyay at intel.com>
Date:   Fri Sep 15 23:54:57 2023 +0530

    drm/xe: Implement fdinfo memory stats printing
    
    Use the newly added drm_print_memory_stats helper to show memory
    utilisation of our objects in drm/driver specific fdinfo output.
    
    To collect the stats we walk the per memory regions object lists
    and accumulate object size into the respective drm_memory_stats
    categories.
    
    Objects with multiple possible placements are reported in multiple
    regions for total and shared sizes, while other categories are
    counted only for the currently active region.
    
    V4:
      - Remove rcu lock - Auld/Thomas
      - take refcnt only if its non-zero - Auld
      - DMA_RESV_USAGE_BOOKKEEP covers all fences - Auld
      - covert to xe_bo for public objects
    V3:
      - dont use xe_bo_get/put, not needed
      - use designated initializer - Jani
      - use list_for_each_entry_rcu
      - Fix Checkpatch err - CI
    V2:
      - Use static initializer for mem_type - Himal/Jani
    
    Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
+ /mt/dim checkpatch 9da40abcc0ccdf8fdfed4e21d76060bfcd35fe7d drm-intel
b79c5e3cb drm/xe: Add drm-client infrastructure
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'
-:98: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#98: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 159 lines checked
aad38497a drm/xe: Interface xe drm client with fdinfo interface
797d74033 drm/xe: Add tracking support for bos per client
545acbd06 drm/xe: Record each drm client with its VM
dbb70d3a9 drm/xe: Track page table memory usage for client
9fbf90d13 drm/xe: Account ring buffer and context state storage
def708840 drm/xe: Implement fdinfo memory stats printing




More information about the Intel-xe mailing list