We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd5f262 commit 73552e0Copy full SHA for 73552e0
drivers/gpu/drm/i915/i915_gem.c
@@ -158,8 +158,7 @@ int i915_gem_object_unbind(struct drm_i915_gem_object *obj,
158
ret = -EBUSY;
159
if (flags & I915_GEM_OBJECT_UNBIND_ACTIVE ||
160
!i915_vma_is_active(vma)) {
161
- if (i915_is_ggtt(vma->vm) &&
162
- flags & I915_GEM_OBJECT_UNBIND_VM_TRYLOCK) {
+ if (flags & I915_GEM_OBJECT_UNBIND_VM_TRYLOCK) {
163
if (mutex_trylock(&vma->vm->mutex)) {
164
ret = __i915_vma_unbind(vma);
165
mutex_unlock(&vma->vm->mutex);
0 commit comments