drm/amdgpu:Use register UVD_SCRATCH9 for VCN ring/ib test
authorJames Zhu <James.Zhu@amd.com>
Mon, 10 Sep 2018 18:06:08 +0000 (14:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:23 +0000 (21:09 -0500)
commit21cbe2f38cd94c180c4b3aad00bcb95b5f323134
tree634a39f3aa43700504d7c76abeb0e48775f074ff
parent1ffdeca64856e0149e7fb341617f47cb038df543
drm/amdgpu:Use register UVD_SCRATCH9 for VCN ring/ib test

Use register UVD_SCRATCH9 for VCN ring/ib test. Since those registers
can't be directly accessed under DPG(Dynamic Power Gate) mode.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c