Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c247 unsigned num_dw, num_bytes; in amdgpu_ttm_map_buffer() local
269 num_dw = ALIGN(adev->mman.buffer_funcs->copy_num_dw, 8); in amdgpu_ttm_map_buffer()
272 r = amdgpu_job_alloc_with_ib(adev, num_dw * 4 + num_bytes, in amdgpu_ttm_map_buffer()
277 src_addr = num_dw * 4; in amdgpu_ttm_map_buffer()
286 WARN_ON(job->ibs[0].length_dw > num_dw); in amdgpu_ttm_map_buffer()
292 cpu_addr = &job->ibs[0].ptr[num_dw]; in amdgpu_ttm_map_buffer()
2119 unsigned num_loops, num_dw; in amdgpu_copy_buffer() local
2130 num_dw = ALIGN(num_loops * adev->mman.buffer_funcs->copy_num_dw, 8); in amdgpu_copy_buffer()
2132 r = amdgpu_job_alloc_with_ib(adev, num_dw * 4, pool, &job); in amdgpu_copy_buffer()
2162 WARN_ON(job->ibs[0].length_dw > num_dw); in amdgpu_copy_buffer()
[all …]