]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:re-write sriov_reinit_early/late (v2)
authorMonk Liu <Monk.Liu@amd.com>
Wed, 26 Apr 2017 04:00:49 +0000 (12:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:40:19 +0000 (17:40 -0400)
commitb7aa558915ddae783d1fb6c1bb13d301770560f7
tree21d9454ac8e21f94a46327e9fa2ab4cf2b1303d9
parentea96f90b077ab201d770c6fe3217cc588c448ec4
drm/amdgpu:re-write sriov_reinit_early/late (v2)

1,this way we make those routines compatible with the sequence
  requirment for both Tonga and Vega10
2,ignore PSP hw init when doing TDR, because for SR-IOV device
the ucode won't get lost after VF FLR, so no need to invoke PSP
doing the ucode reloading again.

v2: squash in ARRAY_SIZE fix

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c