[Intel-xe] ✓ CI.checkpatch: success for drm/xe: Fix unbind of unaccessed VMA (fault mode)
Patchwork
patchwork at emeril.freedesktop.org
Mon Nov 6 22:18:48 UTC 2023
== Series Details ==
Series: drm/xe: Fix unbind of unaccessed VMA (fault mode)
URL : https://patchwork.freedesktop.org/series/126042/
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
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 15becb2c4e6153b3219831beb6a22e67d91081e8
Author: Brian Welty <brian.welty at intel.com>
Date: Mon Nov 6 14:15:38 2023 -0800
drm/xe: Fix unbind of unaccessed VMA (fault mode)
In fault mode, page table binding is deferred until fault handler.
Thus vma->tile_present will be unset unless the VMA is accessed by GPU.
During a later unbind, the logic doesn't account for the fact that local
fence variable will be NULL in this case, leading to pass NULL into
dma_fence_add_callback() and causing few WARN_ONs to print to console.
The fix is already present in the code, just hoist the fence variable
computation to be done earlier.
Resolves warnings seen with igt at xe_exec_fault_mode@once-invalid-fault
Signed-off-by: Brian Welty <brian.welty at intel.com>
+ /mt/dim checkpatch 5a3a6fdda31fc8fa60db6d2fa30bd4db2509eb8b drm-intel
15becb2c4 drm/xe: Fix unbind of unaccessed VMA (fault mode)
More information about the Intel-xe
mailing list