Lines Matching refs:gtt_obj
35 struct amdgpu_bo **gtt_obj = NULL; in amdgpu_do_test_moves() local
55 gtt_obj = kzalloc(n * sizeof(*gtt_obj), GFP_KERNEL); in amdgpu_do_test_moves()
56 if (!gtt_obj) { in amdgpu_do_test_moves()
85 NULL, gtt_obj + i); in amdgpu_do_test_moves()
91 r = amdgpu_bo_reserve(gtt_obj[i], false); in amdgpu_do_test_moves()
94 r = amdgpu_bo_pin(gtt_obj[i], AMDGPU_GEM_DOMAIN_GTT, >t_addr); in amdgpu_do_test_moves()
100 r = amdgpu_bo_kmap(gtt_obj[i], >t_map); in amdgpu_do_test_moves()
111 amdgpu_bo_kunmap(gtt_obj[i]); in amdgpu_do_test_moves()
174 r = amdgpu_bo_kmap(gtt_obj[i], >t_map); in amdgpu_do_test_moves()
195 amdgpu_bo_kunmap(gtt_obj[i]); in amdgpu_do_test_moves()
200 amdgpu_bo_kunmap(gtt_obj[i]); in amdgpu_do_test_moves()
207 amdgpu_bo_unpin(gtt_obj[i]); in amdgpu_do_test_moves()
209 amdgpu_bo_unreserve(gtt_obj[i]); in amdgpu_do_test_moves()
211 amdgpu_bo_unref(>t_obj[i]); in amdgpu_do_test_moves()
214 amdgpu_bo_unpin(gtt_obj[i]); in amdgpu_do_test_moves()
215 amdgpu_bo_unreserve(gtt_obj[i]); in amdgpu_do_test_moves()
216 amdgpu_bo_unref(>t_obj[i]); in amdgpu_do_test_moves()
229 kfree(gtt_obj); in amdgpu_do_test_moves()