]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: get xgmi info before ip_init
authorVictor Skvortsov <victor.skvortsov@amd.com>
Wed, 15 Dec 2021 18:42:44 +0000 (18:42 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Dec 2021 21:02:17 +0000 (16:02 -0500)
commit46e798ab656c1271159ec6230e095a2574f774b9
tree9fb80b316c3cf5d806a16fe8086ca99f90f2562f
parent705c15e9aaeb88bf973893c2feca31070f7b0149
drm/amdgpu: get xgmi info before ip_init

Driver needs to call get_xgmi_info() before ip_init
to determine whether it needs to handle a pending hive reset.

Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com>
Reviewed-by: David Nieto <david.nieto@amd.com>
Reviewed by: shaoyun.liu <Shaoyun.lui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c