drm/amdgpu: move gpu_info parsing after common early init
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 15 May 2020 18:04:17 +0000 (14:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 May 2020 17:41:32 +0000 (13:41 -0400)
commit6e29c227a4976460ec6d4cc70b998e3a8c30c873
treeabd7ba46e3078ad43790744c6c00b6633b82702a
parent6ba57b7a8f94fcf3df6883db362642a0075d185b
drm/amdgpu: move gpu_info parsing after common early init

We need to get the silicon revision id before we parse
the firmware in order to load the correct gpu info firmware
for raven2 variants.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1103
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c