diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-03-23 09:16:07 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-30 06:54:13 +0300 |
commit | 345346108bdca312b3458374a7fac833490a1303 (patch) | |
tree | b71ea2e9f0300bfc7a5898e2aee5894505c57ad5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | |
parent | 015c23600a4dc9844c4a6195a343604bcc88ba01 (diff) | |
download | linux-345346108bdca312b3458374a7fac833490a1303.tar.xz |
drm/amdgpu/gfx8: store the eop gpu addr in the ring structure
Avoids passing around additional parameters during setup.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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; |