Home
last modified time | relevance | path

Searched refs:best_bo (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_sa.c251 struct radeon_sa_bo *best_bo = NULL; in radeon_sa_bo_next_hole() local
296 best_bo = sa_bo; in radeon_sa_bo_next_hole()
300 if (best_bo) { in radeon_sa_bo_next_hole()
301 ++tries[best_bo->fence->ring]; in radeon_sa_bo_next_hole()
302 sa_manager->hole = best_bo->olist.prev; in radeon_sa_bo_next_hole()
306 radeon_sa_bo_remove_locked(best_bo); in radeon_sa_bo_next_hole()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sa.c210 struct amdgpu_sa_bo *best_bo = NULL; in amdgpu_sa_bo_next_hole() local
254 best_bo = sa_bo; in amdgpu_sa_bo_next_hole()
258 if (best_bo) { in amdgpu_sa_bo_next_hole()
259 uint32_t idx = best_bo->fence->context; in amdgpu_sa_bo_next_hole()
263 sa_manager->hole = best_bo->olist.prev; in amdgpu_sa_bo_next_hole()
267 amdgpu_sa_bo_remove_locked(best_bo); in amdgpu_sa_bo_next_hole()