Skip to content

Commit

Permalink
drm/i915/selftests: Prepare execbuf tests for obj->mm.lock removal.
Browse files Browse the repository at this point in the history
Also quite simple, a single call needs to use the unlocked version.

Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
mlankhorst authored and danvet committed Mar 24, 2021
1 parent e372984 commit 1832f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static int igt_gpu_reloc(void *arg)
if (IS_ERR(scratch))
return PTR_ERR(scratch);

map = i915_gem_object_pin_map(scratch, I915_MAP_WC);
map = i915_gem_object_pin_map_unlocked(scratch, I915_MAP_WC);
if (IS_ERR(map)) {
err = PTR_ERR(map);
goto err_scratch;
Expand Down

0 comments on commit 1832f88

Please sign in to comment.