✗ CI.checkpatch: warning for Prepare GPU SVM for migration of THP (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Fri Jul 25 16:30:39 UTC 2025
== Series Details ==
Series: Prepare GPU SVM for migration of THP (rev2)
URL : https://patchwork.freedesktop.org/series/151754/
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
63535c743231a7497a612c53f6edbb8a7d14412d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 0218c562e70959363c6ca87c83aa3a46ab1b4366
Author: Francois Dugast <francois.dugast at intel.com>
Date: Fri Jul 25 17:39:30 2025 +0200
drm/xe/svm: Migrate folios when possible
The DMA mapping can now correspond to a folio (order > 0), so move the
iterator by the number of pages in the folio in order to migrate all
pages at once. This will improve efficiency compared to migrating pages
one by one.
For this to work, the BOs must be contiguous in memory.
Signed-off-by: Francois Dugast <francois.dugast at intel.com>
+ /mt/dim checkpatch a323d08c4fe03caea5c882ebe6446fd1ea441f98 drm-intel
ab82abeaad03 drm/pagemap: Rename drm_pagemap_device_addr to drm_pagemap_addr
a0d2e61ff643 drm/pagemap: Use struct drm_pagemap_addr in mapping and copy functions
-:66: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#66: FILE: drivers/gpu/drm/drm_pagemap.c:239:
+ pagemap_addr[i] = drm_pagemap_addr_encode(
-:380: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#380: FILE: drivers/gpu/drm/xe/xe_migrate.c:1921:
+static struct drm_pagemap_addr *xe_migrate_dma_map(struct xe_device *xe,
+ void *buf, int len,
-:413: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#413: FILE: drivers/gpu/drm/xe/xe_migrate.c:1946:
+ pagemap_addr[i] = drm_pagemap_addr_encode(
total: 0 errors, 0 warnings, 3 checks, 551 lines checked
5b8f5330a5f1 drm/pagemap: DMA map folios when possible
-:88: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'order' may be better as '(order)' to avoid precedence issues
#88: FILE: include/drm/drm_pagemap.h:9:
+#define NR_PAGES(order) (1U << order)
total: 0 errors, 0 warnings, 1 checks, 79 lines checked
a01ce0a6b9f3 drm/pagemap: Allocate folios when possible
28a3ac7c1d6d drm/xe/migrate: Populate struct drm_pagemap_addr array
0218c562e709 drm/xe/svm: Migrate folios when possible
More information about the Intel-xe
mailing list