drm/amdgpu: switch to common decode iv helper
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 25 Nov 2020 07:29:42 +0000 (15:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:05:13 +0000 (15:05 -0500)
commit40838281781488a9606fc18335653885f6c863aa
tree54bcd9243b70a9a865cd05975dfe5c8edf936227
parent78bd101cdfe20913ef76759b344adc5223dff006
drm/amdgpu: switch to common decode iv helper

The iv format is the same for all the soc15 adpater
and onwards and can share a common function to
decode iv.

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
drivers/gpu/drm/amd/amdgpu/vega10_ih.c