Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Andres Rodriguez 048765ad5a 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>
2016-06-13 15:25:20 -04:00
..
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2016-06-09 10:49:08 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2015-10-21 12:19:46 -04:00
2016-06-09 10:49:06 -04:00
2016-05-16 10:31:07 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:13 -04:00
2016-05-11 13:30:31 -04:00
2016-05-11 13:30:31 -04:00
2016-05-11 13:30:31 -04:00