drm/amdgpu: add helper to init ih ring regs for navi10
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 1 Dec 2020 15:15:32 +0000 (23:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:04:26 +0000 (15:04 -0500)
commit5212d1630b5f8d202e081068f5f2e3c76fe23cc8
tree9275a522fca4772cf6d91c17e8b0c0fef835fa07
parent2601fa6464c64c0373af3f14d0b4ed56def3f723
drm/amdgpu: add helper to init ih ring regs for navi10

navi10_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>
Acked-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/navi10_ih.c