✗ CI.checkpatch: warning for drm/{ttm,xe}: Improve ttm_bo_vmap() and update xe
Patchwork
patchwork at emeril.freedesktop.org
Fri Jun 14 13:41:46 UTC 2024
== Series Details ==
Series: drm/{ttm,xe}: Improve ttm_bo_vmap() and update xe
URL : https://patchwork.freedesktop.org/series/134890/
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
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2ef5460a7f42ad4902eb992802d2fa95f85ab05c
Author: Thomas Zimmermann <tzimmermann at suse.de>
Date: Fri Jun 14 15:22:00 2024 +0200
drm/xe: Replace ttm_bo_kmap() with ttm_bo_vmap()
Use the newer ttm_bo_vmap() instead of ttm_bo_kmap(). The new interface
uses struct iomap_map, which helps with pointer setup and memcpy() ops.
Removes a TODO item and quite a bit of workarounds from the code.
Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
+ /mt/dim checkpatch 00e9498b453447a5afe527bd0e174587b12f66d2 drm-intel
208ead254971 iosys-map: Add allocator flags
b8e9f98e43e0 drm/ttm: Store the bo_kmap_type in struct iosys_map
575046d5cc08 drm/ttm: Support partial buffer mappings for ttm_bo_vmap()
6b4f9aabe6d3 drm/ttm: Support kmap for single-page mappings in ttm_bo_vmap()
-:53: WARNING:DEPRECATED_API: Deprecated use of 'kmap', prefer 'kmap_local_page' instead
#53: FILE: drivers/gpu/drm/ttm/ttm_bo_util.c:538:
+ vaddr = kmap(ttm->pages[start_page]);
-:74: WARNING:DEPRECATED_API: Deprecated use of 'kunmap', prefer 'kunmap_local' instead
#74: FILE: drivers/gpu/drm/ttm/ttm_bo_util.c:583:
+ kunmap(kmap_to_page(map->vaddr));
total: 0 errors, 2 warnings, 0 checks, 51 lines checked
f9c278e60f2f drm/xe: Remove vunmap calls object-freeing code
2ef5460a7f42 drm/xe: Replace ttm_bo_kmap() with ttm_bo_vmap()
More information about the Intel-xe
mailing list