summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_device.c
diff options
context:
space:
mode:
authorAndres Rodriguez <andres.rodriguez@amd.com>2016-06-11 02:51:32 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-06-13 15:25:20 -0400
commit048765ad5af7c8939603b4c6cb96293ffa05e00d (patch)
tree5c5218841c6f789c0ae22e67f64dd2182cf2a58c /drivers/gpu/drm/radeon/radeon_device.c
parent9ef8537e68941d858924a3eacee5a1945767cbab (diff)
downloadlinux-048765ad5af7c8939603b4c6cb96293ffa05e00d.tar.bz2
amdgpu: fix asic initialization for virtualized environments (v2)
When executing in a PCI passthrough based virtuzliation environemnt, the hypervisor will usually attempt to send a PCIe bus reset signal to the ASIC when the VM reboots. In this scenario, the card is not correctly initialized, but we still consider it to be posted. Therefore, in a passthrough based environemnt we should always post the card to guarantee it is in a good state for driver initialization. However, if we are operating in SR-IOV mode it is up to the GIM driver to manage the asic state, therefore we should not post the card (and shouldn't be able to do it either). v2: add missing semi-colon Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Andres Rodriguez <andres.rodriguez@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
0 files changed, 0 insertions, 0 deletions