✗ CI.checkpatch: warning for drm/xe: Align all VRAM scanout buffers to 64k physical pages when needed. (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Mon Aug 26 09:56:01 UTC 2024
== Series Details ==
Series: drm/xe: Align all VRAM scanout buffers to 64k physical pages when needed. (rev2)
URL : https://patchwork.freedesktop.org/series/137662/
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
9fe5037901cabbcdf27a6fe0dfb047ca1474d363
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7a60a7a5c5fa07175b5d26b3fecbae09b47c4e87
Author: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Date: Mon Aug 26 11:50:41 2024 +0200
drm/i915/display: Add function for checking 64k physical alignment workaround
Instead of hardcoding the modifier in xe, the alternative approach is
setting a bit in the modifier description for 64k phys requirement.
This removes the hardcoding for the modifier in CCS.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
+ /mt/dim checkpatch 914672a01b6beb45c0fa2b931ddb4420a2eadb7a drm-intel
2a96fd6ede1d drm/xe: Align all VRAM scanout buffers to 64k physical pages when needed.
-:30: WARNING:BAD_SIGN_OFF: Co-developed-by: must be immediately followed by Signed-off-by:
#30:
Co-developed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Matthew Auld <matthew.auld at intel.com>
-:47: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#47: FILE: drivers/gpu/drm/xe/display/intel_fb_bo.c:33:
+ if (XE_IOCTL_DBG(xe, mode_cmd->modifier[0] == I915_FORMAT_MOD_4_TILED_BMG_CCS &&
+ !(bo->flags & XE_BO_FLAG_NEEDS_64K)))
total: 0 errors, 1 warnings, 1 checks, 41 lines checked
7a60a7a5c5fa drm/i915/display: Add function for checking 64k physical alignment workaround
-:90: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#90: FILE: drivers/gpu/drm/xe/display/intel_fb_bo.c:34:
+ if (XE_IOCTL_DBG(xe, intel_fb_needs_64k_phys_wa(mode_cmd->modifier[0]) &&
!(bo->flags & XE_BO_FLAG_NEEDS_64K)))
total: 0 errors, 0 warnings, 1 checks, 62 lines checked
More information about the Intel-xe
mailing list