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)
commit6c8855541492b3d812d55c9fe5a2ed17ddf022b8
treee1c5d6f772126c4bd4494589b6c35565f88cadcf
parenta5d20c405a37db7e59089422e795ad58feb37638
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