[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: fdinfo memory stats (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Sep 12 12:07:10 UTC 2023
== Series Details ==
Series: drm/xe: fdinfo memory stats (rev2)
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 70894d83e12c7def7e25d9efd1955ccbc27f5146
Author: Tejas Upadhyay <tejas.upadhyay at intel.com>
Date: Tue Sep 12 17:22:39 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.
V2:
- Use static initializer for mem_type - Himal/Jani
Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
+ /mt/dim checkpatch b4ddac861881e66a4af06531a7a72345c086bac1 drm-intel
7d7143e28 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'
-:95: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#95:
new file mode 100644
-:121: WARNING:TYPO_SPELLING: 'cant' may be misspelled - perhaps 'can't'?
#121: FILE: drivers/gpu/drm/xe/xe_drm_client.c:22:
+ * Return: pointer to client struct or NULL if cant allocate
^^^^
total: 0 errors, 2 warnings, 0 checks, 159 lines checked
16b034ae7 drm/xe: Interface xe drm client with fdinfo interface
23621e11f drm/xe: Add tracking support for bos per client
-:181: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#181: FILE: drivers/gpu/drm/xe/xe_drm_client.h:58:
+void xe_drm_client_add_bo(struct xe_drm_client *client,
+ struct xe_bo *bo);
-:185: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#185: FILE: drivers/gpu/drm/xe/xe_drm_client.h:62:
+static inline void xe_drm_client_add_bo(struct xe_drm_client *client,
+ struct xe_bo *bo)
total: 0 errors, 0 warnings, 2 checks, 154 lines checked
6576b4c33 drm/xe: Record each drm client with its VM
b008bc7ec drm/xe: Track page table memory usage for client
0160e6ea7 drm/xe: Account ring buffer and context state storage
-:9: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com'
#9:
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com
total: 1 errors, 0 warnings, 0 checks, 21 lines checked
70894d83e drm/xe: Implement fdinfo memory stats printing
-:142: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#142: FILE: drivers/gpu/drm/xe/xe_drm_client.c:179:
+ for (mem_type = XE_PL_SYSTEM; mem_type < TTM_NUM_MEM_TYPES; ++mem_type) {
+
total: 0 errors, 0 warnings, 1 checks, 135 lines checked
More information about the Intel-xe
mailing list