drm/amdgpu: move get_rev_id at first before load gpu_info firmware
authorHuang Rui <ray.huang@amd.com>
Fri, 15 Jun 2018 21:05:48 +0000 (16:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 14:36:04 +0000 (09:36 -0500)
commit4cb0becb269e7b45ff3fd15bfd2242c8b3e013d1
treec1050744c4f978c340d8c3316890b3257a3315d0
parent44876ae294dd7d7bcdfb527d12b86beb54cd013b
drm/amdgpu: move get_rev_id at first before load gpu_info firmware

Rev id is used for identifying Raven2 series of chips. So we would better to
initialize it at first.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c