]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/atom: fix atom_fw check
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jul 2017 19:17:00 +0000 (15:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:17 +0000 (11:06 -0400)
commit66513bce7f07c85a1e952bae90e07d39b4d38947
treee1c5d6f772126c4bd4494589b6c35565f88cadcf
parent7580085c5972553f084adb6ff802d99f5170a6d3
drm/amdgpu/atom: fix atom_fw check

Not all vbios images seem to set the version appropriately.
Switch the check based on asic type instead.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c