aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
diff options
context:
space:
mode:
authorMonk Liu <Monk.Liu@amd.com>2017-01-24 05:33:22 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:52:41 -0400
commitf3972b531d36a09bdc01dcf00b9a369e076cb563 (patch)
tree32015c5bef9aaab657b822cd2cbdfdfd700ec149 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
parentce137c04ff4bb7862a952e32d5200c301e620601 (diff)
drm/damdgpu:add new mqd member in ring
introduce a new mqd member in ring is for later usage. we need keep a clean version of MQD for the purpose of recovering compute rings from hang. Signed-off-by: Monk Liu <Monk.Liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
index 2345b39878c6..5785db8e3cf3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
@@ -161,6 +161,8 @@ struct amdgpu_ring {
161 u32 pipe; 161 u32 pipe;
162 u32 queue; 162 u32 queue;
163 struct amdgpu_bo *mqd_obj; 163 struct amdgpu_bo *mqd_obj;
164 uint64_t mqd_gpu_addr;
165 struct vi_mqd *mqd_ptr;
164 u32 doorbell_index; 166 u32 doorbell_index;
165 bool use_doorbell; 167 bool use_doorbell;
166 unsigned wptr_offs; 168 unsigned wptr_offs;