drm/amdgpu: add helper to init ih ring regs for vega10
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 1 Dec 2020 14:44:40 +0000 (22:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:03:37 +0000 (15:03 -0500)
commit1ebb4841f064ea8f3aff95cc29a931dbd3fad685
treeefd5473fb5b15e40e6320c190a5190032abe9979
parent3c06aaffb082638b3b4fab92aa0228e84f317d8e
drm/amdgpu: add helper to init ih ring regs for vega10

vega10_ih_init_register_offset will be used to init
register offset for all the available ih rings

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