Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ttm.c199 unsigned num_dw, num_bytes; in amdgpu_ttm_map_buffer() local
223 num_dw = ALIGN(adev->mman.buffer_funcs->copy_num_dw, 8); in amdgpu_ttm_map_buffer()
226 r = amdgpu_job_alloc_with_ib(adev, num_dw * 4 + num_bytes, in amdgpu_ttm_map_buffer()
231 src_addr = num_dw * 4; in amdgpu_ttm_map_buffer()
240 WARN_ON(job->ibs[0].length_dw > num_dw); in amdgpu_ttm_map_buffer()
246 cpu_addr = &job->ibs[0].ptr[num_dw]; in amdgpu_ttm_map_buffer()
1912 unsigned num_loops, num_dw; in amdgpu_copy_buffer() local
1956 WARN_ON(job->ibs[0].length_dw > num_dw); in amdgpu_copy_buffer()
1983 unsigned int num_loops, num_dw; in amdgpu_fill_buffer() local
2016 num_dw += 64; in amdgpu_fill_buffer()
[all …]
A Damdgpu_ih.c149 unsigned int num_dw) in amdgpu_ih_ring_write() argument
154 for (i = 0; i < num_dw; ++i) in amdgpu_ih_ring_write()
A Damdgpu_ih.h91 unsigned int num_dw);
A Damdgpu_irq.h115 unsigned int num_dw);
A Damdgpu_irq.c546 unsigned int num_dw) in amdgpu_irq_delegate() argument
548 amdgpu_ih_ring_write(&adev->irq.ih_soft, entry->iv_entry, num_dw); in amdgpu_irq_delegate()
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_migrate.c53 unsigned int num_dw, num_bytes; in svm_migrate_gart_map() local
63 num_dw = ALIGN(adev->mman.buffer_funcs->copy_num_dw, 8); in svm_migrate_gart_map()
66 r = amdgpu_job_alloc_with_ib(adev, num_dw * 4 + num_bytes, in svm_migrate_gart_map()
71 src_addr = num_dw * 4; in svm_migrate_gart_map()
79 WARN_ON(job->ibs[0].length_dw > num_dw); in svm_migrate_gart_map()
87 cpu_addr = &job->ibs[0].ptr[num_dw]; in svm_migrate_gart_map()

Completed in 12 milliseconds