✗ CI.checkpatch: warning for drm/xe: Reject BO eviction if BO is bound to current VM (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Thu Jan 9 19:29:27 UTC 2025
== Series Details ==
Series: drm/xe: Reject BO eviction if BO is bound to current VM (rev2)
URL : https://patchwork.freedesktop.org/series/142755/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2147656757caac7c9424771f651e4729377a55f5
Author: Oak Zeng <oak.zeng at intel.com>
Date: Tue Dec 17 18:13:58 2024 -0500
drm/xe: Reject BO eviction if BO is bound to current VM
This is a follow up fix for https://patchwork.freedesktop.org/patch/msgid/20241203021929.1919730-1-oak.zeng@intel.com
The overall goal is to fail vm_bind when there is memory pressure. See more
details in the commit message of above patch. Abbove patch fixes the issue
when user pass in a vm_id parameter during gem_create. If user doesn't pass
in a vm_id during gem_create, above patch doesn't help.
This patch further reject BO eviction (which could be triggered by bo validation)
if BO is bound to the current VM. vm_bind could fail due to the eviction failure.
The BO to VM reverse mapping structure is used to determine whether BO is bound
to VM.
Suggested-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Signed-off-by: Oak Zeng <oak.zeng at intel.com>
+ /mt/dim checkpatch c066c8811476b15e9eda121713b5518d21f2347e drm-intel
2147656757ca drm/xe: Reject BO eviction if BO is bound to current VM
-:9: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#9:
This is a follow up fix for https://patchwork.freedesktop.org/patch/msgid/20241203021929.1919730-1-oak.zeng@intel.com
total: 0 errors, 1 warnings, 0 checks, 25 lines checked
More information about the Intel-xe
mailing list