mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 22:08:33 -04:00
drm/i915: use proper helper in igt_vma_move_to_active_unlocked
There is no need to use _i915_vma_move_to_active. No functional changes. Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221213121951.1515023-1-andrzej.hajda@intel.com
This commit is contained in:
committed by
Andi Shyti
parent
41bb543f55
commit
f350c74fed
@@ -38,7 +38,7 @@ igt_vma_move_to_active_unlocked(struct i915_vma *vma, struct i915_request *rq,
|
||||
int err;
|
||||
|
||||
i915_vma_lock(vma);
|
||||
err = _i915_vma_move_to_active(vma, rq, &rq->fence, flags);
|
||||
err = i915_vma_move_to_active(vma, rq, flags);
|
||||
i915_vma_unlock(vma);
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user