Lines Matching refs:vram_obj
35 struct amdgpu_bo *vram_obj = NULL; in amdgpu_do_test_moves() local
67 r = amdgpu_bo_create(adev, &bp, &vram_obj); in amdgpu_do_test_moves()
72 r = amdgpu_bo_reserve(vram_obj, false); in amdgpu_do_test_moves()
75 r = amdgpu_bo_pin(vram_obj, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_do_test_moves()
80 vram_addr = amdgpu_bo_gpu_offset(vram_obj); in amdgpu_do_test_moves()
139 r = amdgpu_bo_kmap(vram_obj, &vram_map); in amdgpu_do_test_moves()
160 amdgpu_bo_kunmap(vram_obj); in amdgpu_do_test_moves()
166 amdgpu_bo_kunmap(vram_obj); in amdgpu_do_test_moves()
234 amdgpu_bo_unpin(vram_obj); in amdgpu_do_test_moves()
236 amdgpu_bo_unreserve(vram_obj); in amdgpu_do_test_moves()
238 amdgpu_bo_unref(&vram_obj); in amdgpu_do_test_moves()