Skip to content

Commit

Permalink
drm/i915: use proper helper in igt_vma_move_to_active_unlocked
Browse files Browse the repository at this point in the history
There is no need to use _i915_vma_move_to_active.
No functional changes.

Signed-off-by: Andrzej Hajda <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
ahajda authored and Andi Shyti committed Jan 9, 2023
1 parent 41bb543 commit f350c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f350c74

Please sign in to comment.