[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: fdinfo memory stats (rev7)
Patchwork
patchwork at emeril.freedesktop.org
Fri Sep 22 07:12:04 UTC 2023
== Series Details ==
Series: drm/xe: fdinfo memory stats (rev7)
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 f1c78e128f5d630ae2e22c1b6286491dcb649df9
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
f7a5857b4 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
768be59be drm/xe: Interface xe drm client with fdinfo interface
8f9f11af4 drm/xe: Add tracking support for bos per client
521110d74 drm/xe: Record each drm client with its VM
f2352bcd4 drm/xe: Track page table memory usage for client
f974a15c4 drm/xe: Account ring buffer and context state storage
f1c78e128 drm/xe: Implement fdinfo memory stats printing
More information about the Intel-xe
mailing list