drm/amdgpu: switch to indirect reg access helper
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 15 Sep 2020 09:57:30 +0000 (17:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Oct 2020 14:42:48 +0000 (10:42 -0400)
commit705a2b5ba0635c2fa3e5b6a830a6b4fe178de699
treece22ff60c26d37a38ce894f67691d6091e81a424
parent1bba36834c3bc317d8a30dd5d0cc3e59d64dbfb3
drm/amdgpu: switch to indirect reg access helper

Switch WREG32/RREG32_PCIE to use indirect reg access
helper for soc15 and onwards

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/soc15.c