drm/amdgpu: sriov should skip asic_reset in device_init
authorwentalou <Wentao.Lou@amd.com>
Thu, 17 Jan 2019 09:38:33 +0000 (17:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:35 +0000 (16:15 -0500)
commitf14899fd2a560796450e9af383dfaee6ce557d6b
tree97b0853c8ad764c9d8f56d9a30be372430ddf065
parent24ba59501257f35b4e1adde9c643f3d149e44084
drm/amdgpu: sriov should skip asic_reset in device_init

sriov would meet guest driver load failure,
if calling amdgpu_asic_reset in amdgpu_device_init.
sriov should skip asic_reset in device_init.

Signed-off-by: Wentao Lou <Wentao.Lou@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c