drm/amdgpu: switch to ih_init_register_offset for vega10
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 1 Dec 2020 15:01:02 +0000 (23:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:03:56 +0000 (15:03 -0500)
commitf0594717f4b940b9f431743b7750f4d2bda4cdf6
tree4bee9dcfdfac99bf526360059ddc021ebf9bb9d6
parentc73750322aafa1003a7c67f77d74d154469cb1d6
drm/amdgpu: switch to ih_init_register_offset for vega10

Initialize ih control registers offset through helper
function vega10_ih_init_register_offset.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vega10_ih.c