Searched refs:sobj (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_benchmark.c | 91 struct radeon_bo *sobj = NULL; in radeon_benchmark_move() local 97 r = radeon_bo_create(rdev, size, PAGE_SIZE, true, sdomain, 0, NULL, NULL, &sobj); in radeon_benchmark_move() 101 r = radeon_bo_reserve(sobj, false); in radeon_benchmark_move() 104 r = radeon_bo_pin(sobj, sdomain, &saddr); in radeon_benchmark_move() 105 radeon_bo_unreserve(sobj); in radeon_benchmark_move() 145 if (sobj) { in radeon_benchmark_move() 146 r = radeon_bo_reserve(sobj, false); in radeon_benchmark_move() 148 radeon_bo_unpin(sobj); in radeon_benchmark_move() 149 radeon_bo_unreserve(sobj); in radeon_benchmark_move() 151 radeon_bo_unref(&sobj); in radeon_benchmark_move()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 79 struct amdgpu_bo *sobj = NULL; in amdgpu_benchmark_move() local 88 &sobj, in amdgpu_benchmark_move() 115 if (sobj) in amdgpu_benchmark_move() 116 amdgpu_bo_free_kernel(&sobj, &saddr, NULL); in amdgpu_benchmark_move()
|