diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-12-16 17:27:39 +0300 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-12-20 18:34:20 +0300 |
commit | 9606ca2ea190e439f90426e2a740a48c800a0aab (patch) | |
tree | 8c1eb3d287e40ba1122b87c5f4ad0bce1e24057c /drivers/gpu/drm/i915/gt/intel_gt_debugfs.h | |
parent | fd06ccf15987dd94dfb902f328ef06c010bc7972 (diff) | |
download | linux-9606ca2ea190e439f90426e2a740a48c800a0aab.tar.xz |
drm/i915: Ensure i915_vma tests do not get -ENOSPC with the locking changes.
Now that we require locking to evict, multiple vmas from the same object
might not be evicted. This is expected and required, because execbuf will
move to short-term pinning by using the lock only. This will cause these
tests to fail, because they create a ton of vma's for the same object.
Unbind manually to prevent spurious -ENOSPC in those mock tests.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211216142749.1966107-8-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_gt_debugfs.h')
0 files changed, 0 insertions, 0 deletions