✓ CI.checkpatch: success for drm/xe: Skip VMAs pin when requesting signal to the last XE_EXEC

Patchwork patchwork at emeril.freedesktop.org
Wed Mar 13 17:19:09 UTC 2024


== Series Details ==

Series: drm/xe: Skip VMAs pin when requesting signal to the last XE_EXEC
URL   : https://patchwork.freedesktop.org/series/131085/
State : success

== 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
a9eb1ac8298ef9f9146567c29fa762d8e9efa1ef
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 83a1852441fc263c4ca0f7ae7deb0ebbe404c234
Author: José Roberto de Souza <jose.souza at intel.com>
Date:   Wed Mar 13 10:13:18 2024 -0700

    drm/xe: Skip VMAs pin when requesting signal to the last XE_EXEC
    
    Doing a XE_EXEC with num_batch_buffer == 0 makes signals passed as
    argument to be signaled when the last real XE_EXEC is completed.
    But to do that it was first pinning all VMAs in drm_gpuvm_exec_lock(),
    this patch remove this pinning as it is not required.
    
    This change also help Mesa implementing memory over-commiting recovery
    as it needs to unbind not needed VMAs when the whole VM can't fit
    in GPU memory but it can only do the unbiding when the last XE_EXEC
    is completed.
    So with this change Mesa can get the signal it want without getting
    out-of-memory errors.
    
    Cc: Thomas Hellstrom <thomas.hellstrom at linux.intel.com>
    Co-developed-by: Matthew Brost <matthew.brost at intel.com>
    Signed-off-by: Matthew Brost <matthew.brost at intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
+ /mt/dim checkpatch 72f447f984cf5526e6ad32a6e2770124c67d59d3 drm-intel
83a1852441fc drm/xe: Skip VMAs pin when requesting signal to the last XE_EXEC




More information about the Intel-xe mailing list