drm/amdgpu: skip gpu_info firmware if discovery info is available
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2020 20:57:27 +0000 (16:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 May 2020 17:55:07 +0000 (13:55 -0400)
commit258620d0b36f5aae7f32099f05817206bd4ae0d1
tree35febefcd5e7f9722a30f89c898ff98c323f27a9
parent22f1e0e8e48757daab52290f762ce4b67de349a0
drm/amdgpu: skip gpu_info firmware if discovery info is available

The GPU info firmware is only applicable at bring up when the
IP discovery table is not present.  If it's available, use that
first and then fallback to parsing the gpu info firmware.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c