diff options
| author | Jack Xiao <[email protected]> | 2019-01-07 07:28:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-06-21 23:57:40 +0000 |
| commit | ca1eb73207a49c0777b0dac3dc0be6bd07597a44 (patch) | |
| tree | f34e0fd1a5617b06c60269561cedaa2059050d87 /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | |
| parent | drm/amdgpu: add ib preemption status in amdgpu_job (v2) (diff) | |
| download | kernel-ca1eb73207a49c0777b0dac3dc0be6bd07597a44.tar.gz kernel-ca1eb73207a49c0777b0dac3dc0be6bd07597a44.zip | |
drm/amdgpu/sdma: allocate CSA per sdma ring
Allocate CSA for the given sdma ring.
Acked-by: Hawking Zhang <[email protected]>
Signed-off-by: Jack Xiao <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h index 1ba9ba3b54f7..35dd152f9d5c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h @@ -97,5 +97,5 @@ struct amdgpu_buffer_funcs { struct amdgpu_sdma_instance * amdgpu_sdma_get_instance_from_ring(struct amdgpu_ring *ring); int amdgpu_sdma_get_index_from_ring(struct amdgpu_ring *ring, uint32_t *index); - +uint64_t amdgpu_sdma_get_csa_mc_addr(struct amdgpu_ring *ring, unsigned vmid); #endif |
