OSDN Git Service

drm/amdgpu: move amdgpu_gmc_noretry_set after ip_versions populated
authorYifan Zhang <yifan1.zhang@amd.com>
Tue, 1 Mar 2022 10:26:43 +0000 (18:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2022 23:40:06 +0000 (18:40 -0500)
commit957b0787ee5d5c0848e2dde625c09850e1ada22e
tree8a22f6567b82f01aa0c3860bfa0346884400ac24
parent80e0c2cb37b6e00ec0b41c7670e24f72b2d54ceb
drm/amdgpu: move amdgpu_gmc_noretry_set after ip_versions populated

otherwise adev->ip_versions is still empty when amdgpu_gmc_noretry_set
is called.

Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c