]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae2763a110aac8433a3f23126ef4dee8b2fc8e68
treec1050744c4f978c340d8c3316890b3257a3315d0
parentab2b155502fce45fdad051fb7e74a3fca7523c03
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