✗ CI.checkpatch: warning for Suspend, resume, and d3cold tweaks
Patchwork
patchwork at emeril.freedesktop.org
Tue Oct 29 00:45:17 UTC 2024
== Series Details ==
Series: Suspend, resume, and d3cold tweaks
URL : https://patchwork.freedesktop.org/series/140621/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 1896169bf5138152dee8379b8ae78786afd32da1
Author: Matthew Brost <matthew.brost at intel.com>
Date: Mon Oct 28 17:32:24 2024 -0700
drm/xe: Add XE_BO_FLAG_PINNED_NEED_LOAD
Not all pinned BOs need a memcpy to restored, rather just ones which are
required for resume to complete. Add XE_BO_FLAG_PINNED_NEED_LOAD which
indicates a BO needs to restored via a memcpy prior to loading GuC. This
should speedup resume / d3cold exit slightly as the GPU can be used to
copy some of the pinned BOs.
Marking most kernel BOs and migration LRC with
XE_BO_FLAG_PINNED_NEED_LOAD to be safe. This could be trimmed down in
future.
Signed-off-by: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch 405e02c22d91503cc6c3d54f675ae25df62db9df drm-intel
e7de7169d389 drm/xe: Add XE_BO_FLAG_PINNED_WONTNEED
03b0164fe2fa drm/xe: Restore system memory GGTT mappings
-:31: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around bo->placements[0]
#31: FILE: drivers/gpu/drm/xe/xe_bo.c:949:
+ struct ttm_place *place = &(bo->placements[0]);
total: 0 errors, 0 warnings, 1 checks, 52 lines checked
1896169bf513 drm/xe: Add XE_BO_FLAG_PINNED_NEED_LOAD
More information about the Intel-xe
mailing list