✗ CI.checkpatch: warning for Fix non-contiguous VRAM BO access in Xe (rev3)
Patchwork
patchwork at emeril.freedesktop.org
Sat Oct 19 19:25:57 UTC 2024
== Series Details ==
Series: Fix non-contiguous VRAM BO access in Xe (rev3)
URL : https://patchwork.freedesktop.org/series/140200/
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 f4f6c518e72584c61b8b3f5dd671a41714ef221e
Author: Matthew Brost <matthew.brost at intel.com>
Date: Sat Oct 19 12:20:30 2024 -0700
drm/xe: Only allow contiguous BOs to use xe_bo_vmap
xe_bo_vmap only works on contiguous BOs, disallow xe_bo_vmap on BO
unless we are certain the BO is contiguous.
Signed-off-by: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch 38b97dc95877282bd4ddd58864f2b5f29c6cd124 drm-intel
d4af82b2f082 drm/ttm: Add ttm_bo_access
-:13: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#13:
Reported-by: Christoph Manszewski <christoph.manszewski at intel.com>
Suggested-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
-:28: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u8' over 'uint8_t'
#28: FILE: drivers/gpu/drm/ttm/ttm_bo_util.c:925:
+ uint8_t *buf, int len, int write)
-:100: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#100: FILE: drivers/gpu/drm/ttm/ttm_bo_util.c:997:
+ ret = bo->bdev->funcs->access_memory(
total: 0 errors, 1 warnings, 2 checks, 175 lines checked
ea15ccda22a3 drm/xe: Add xe_ttm_access_memory
-:13: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#13:
Reported-by: Christoph Manszewski <christoph.manszewski at intel.com>
Suggested-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
total: 0 errors, 1 warnings, 0 checks, 88 lines checked
cd6cc9806026 drm/xe: Update xe_ttm_access_memory to use GPU for non-visible access
c240f1546022 drm/xe: Use ttm_bo_access in xe_vm_snapshot_capture_delayed
fb9c66153702 drm/xe: Set XE_BO_FLAG_PINNED in migrate selftest BOs
f4f6c518e725 drm/xe: Only allow contiguous BOs to use xe_bo_vmap
More information about the Intel-xe
mailing list