]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add a helper function to decode iv
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 25 Nov 2020 07:25:51 +0000 (15:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:05:07 +0000 (15:05 -0500)
commit479fabb1629b3d23dc7ddd0fa6fc5b9a5f20c211
tree4b321eaf7a212d07e4964a39a0fdd7e695b9bd66
parent4ee71cb343c5b2cf827a45b76700b8347803dc0d
drm/amdgpu: add a helper function to decode iv

since from soc15, all the chips share the same
iv format. create a common helper 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/amdgpu_ih.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h