Lines Matching refs:gtt_obj
38 struct radeon_bo **gtt_obj = NULL; in radeon_do_test_moves() local
63 gtt_obj = kcalloc(n, sizeof(*gtt_obj), GFP_KERNEL); in radeon_do_test_moves()
64 if (!gtt_obj) { in radeon_do_test_moves()
92 gtt_obj + i); in radeon_do_test_moves()
98 r = radeon_bo_reserve(gtt_obj[i], false); in radeon_do_test_moves()
101 r = radeon_bo_pin(gtt_obj[i], RADEON_GEM_DOMAIN_GTT, >t_addr); in radeon_do_test_moves()
107 r = radeon_bo_kmap(gtt_obj[i], >t_map); in radeon_do_test_moves()
118 radeon_bo_kunmap(gtt_obj[i]); in radeon_do_test_moves()
193 r = radeon_bo_kmap(gtt_obj[i], >t_map); in radeon_do_test_moves()
214 radeon_bo_kunmap(gtt_obj[i]); in radeon_do_test_moves()
219 radeon_bo_kunmap(gtt_obj[i]); in radeon_do_test_moves()
226 radeon_bo_unpin(gtt_obj[i]); in radeon_do_test_moves()
228 radeon_bo_unreserve(gtt_obj[i]); in radeon_do_test_moves()
230 radeon_bo_unref(>t_obj[i]); in radeon_do_test_moves()
233 radeon_bo_unpin(gtt_obj[i]); in radeon_do_test_moves()
234 radeon_bo_unreserve(gtt_obj[i]); in radeon_do_test_moves()
235 radeon_bo_unref(>t_obj[i]); in radeon_do_test_moves()
248 kfree(gtt_obj); in radeon_do_test_moves()