[Intel-xe] ✗ CI.checkpatch: warning for xe/xe_bo: Reject bo creation of unaligned size (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Oct 17 16:54:29 UTC 2023
== Series Details ==
Series: xe/xe_bo: Reject bo creation of unaligned size (rev2)
URL : https://patchwork.freedesktop.org/series/116419/
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 530b2dee59517314a99a6b74a8bd8d52071b8657
Author: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
Date: Tue Oct 17 18:32:43 2023 +0200
xe/xe_bo: Reject bo creation of unaligned size
For xe bo creation we request passing size which matches system or
vram minimum page alignment. This way we want to ensure userspace
is aware of region constraints and not aligned allocations will be
rejected returning EINVAL.
Signed-off-by: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
+ /mt/dim checkpatch b87b8637576a00e513f995952fcc891f3d154f5d drm-intel
530b2dee5 xe/xe_bo: Reject bo creation of unaligned size
-:98: ERROR:CODE_INDENT: code indent should use tabs where possible
#98: FILE: include/uapi/drm/xe_drm.h:331:
+ * maximum value of the &min_page_size across all memory regions$
-:100: ERROR:CODE_INDENT: code indent should use tabs where possible
#100: FILE: include/uapi/drm/xe_drm.h:333:
+ * to track @min_page_size per region can use this value for$
total: 2 errors, 0 warnings, 0 checks, 88 lines checked
More information about the Intel-xe
mailing list