aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
diff options
context:
space:
mode:
authorXiangliang Yu <Xiangliang.Yu@amd.com>2017-02-17 16:03:10 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:53:15 -0400
commit59a82d7d69cf63da641314384b1e691aa8c12999 (patch)
treea2f6afd0d65bfec52d4d174240b0f1197aaf4006 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
parentdrm/amdgpu:fix kiq_resume routine (V2) (diff)
downloadlinux-dev-59a82d7d69cf63da641314384b1e691aa8c12999.tar.xz
linux-dev-59a82d7d69cf63da641314384b1e691aa8c12999.zip
drm/amdgpu: change pointer of mqd_ptr & mqd_backup to void
vi_mqd is only used by VI family but mqd_ptr and mqd_backup is common for all ASIC, so change the pointer to void. Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Monk Liu <Monk.Liu@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, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
index 5d0f7c52fc01..da702dc6e2e5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
@@ -162,7 +162,7 @@ struct amdgpu_ring {
u32 queue;
struct amdgpu_bo *mqd_obj;
uint64_t mqd_gpu_addr;
- struct vi_mqd *mqd_ptr;
+ void *mqd_ptr;
u32 doorbell_index;
bool use_doorbell;
unsigned wptr_offs;