[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: fdinfo memory stats (rev6)
Patchwork
patchwork at emeril.freedesktop.org
Thu Sep 21 13:29:03 UTC 2023
== Series Details ==
Series: drm/xe: fdinfo memory stats (rev6)
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 423b95a16081b179b94edb062022a4da534b3f98
Author: Tejas Upadhyay <tejas.upadhyay at intel.com>
Date: Thu Sep 21 17:20:02 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
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
+ /mt/dim checkpatch 7e0d40e7aa56f19a9b3e9bc492003085f9be01c3 drm-intel
31cf1324a 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
107684199 drm/xe: Interface xe drm client with fdinfo interface
165278c62 drm/xe: Add tracking support for bos per client
dfe4041e7 drm/xe: Record each drm client with its VM
0b09e140c drm/xe: Track page table memory usage for client
85d33bd57 drm/xe: Account ring buffer and context state storage
423b95a16 drm/xe: Implement fdinfo memory stats printing
More information about the Intel-xe
mailing list