diff options
| author | Alex Deucher <[email protected]> | 2017-03-23 06:16:07 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-03-30 03:54:13 +0000 |
| commit | 345346108bdca312b3458374a7fac833490a1303 (patch) | |
| tree | b71ea2e9f0300bfc7a5898e2aee5894505c57ad5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | |
| parent | drm/amdgpu/gfx8: reduce the functon params for mpq setup (diff) | |
| download | kernel-345346108bdca312b3458374a7fac833490a1303.tar.gz kernel-345346108bdca312b3458374a7fac833490a1303.zip | |
drm/amdgpu/gfx8: store the eop gpu addr in the ring structure
Avoids passing around additional parameters during setup.
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h index 8103cba00e91..9bc453f1855c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h @@ -168,6 +168,7 @@ struct amdgpu_ring { struct amdgpu_bo *mqd_obj; uint64_t mqd_gpu_addr; void *mqd_ptr; + uint64_t eop_gpu_addr; u32 doorbell_index; bool use_doorbell; unsigned wptr_offs; |
