• A
    drm/radeon: fix asic initialization for virtualized environments · 05082b8b
    Alex Deucher 提交于
    When executing in a PCI passthrough based virtuzliation environment, 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.
    
    Ported from amdgpu commit:
    amdgpu: fix asic initialization for virtualized environments
    
    Cc: Andres Rodriguez <andres.rodriguez@amd.com>
    Cc: Alex Williamson <alex.williamson@redhat.com>
    Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    05082b8b
radeon_device.c 51.3 KB