✗ CI.checkpatch: warning for drm/xe/bmg: fix compressed VRAM handling

Patchwork patchwork at emeril.freedesktop.org
Wed Jun 4 20:47:47 UTC 2025


== Series Details ==

Series: drm/xe/bmg: fix compressed VRAM handling
URL   : https://patchwork.freedesktop.org/series/149847/
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
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit ec77d8afe8e63686a1a292c13ae384fc0d06c095
Author: Matthew Auld <matthew.auld at intel.com>
Date:   Wed Jun 4 19:15:12 2025 +0100

    drm/xe/bmg: fix compressed VRAM handling
    
    There looks to be an issue in our compression handling when the BO pages
    are very fragmented, where we choose to skip the identity map and
    instead fall back to emitting the PTEs by hand when migrating memory,
    such that we can hopefully do more work per blit operation. However in
    such a case we need to ensure the src PTEs are correctly tagged with a
    compression enabled PAT index on dgpu xe2+, otherwise the copy will
    simply treat the src memory as uncompressed, leading to corruption if
    the memory was compressed by the user.
    
    To fix this it looks like we can pass use_comp_pat into emit_pte() on
    the src side.
    
    There are reports of VRAM corruption in some heavy user workloads, which
    might be related: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/4495
    
    Fixes: 523f191cc0c7 ("drm/xe/xe_migrate: Handle migration logic for xe2+ dgfx")
    Signed-off-by: Matthew Auld <matthew.auld at intel.com>
    Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
    Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
    Cc: Akshata Jahagirdar <akshata.jahagirdar at intel.com>
    Cc: <stable at vger.kernel.org> # v6.12+
    Reviewed-by: Jonathan Cavitt <jonathan.cavitt at intel.com>
+ /mt/dim checkpatch 573b98ac3ff9ff95c3316789e97980277e4ffe2b drm-intel
ec77d8afe8e6 drm/xe/bmg: fix compressed VRAM handling
-:22: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#22: 
might be related: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/4495

total: 0 errors, 1 warnings, 0 checks, 8 lines checked




More information about the Intel-xe mailing list