Commit 1caebfb5 authored by Alex Deucher's avatar Alex Deucher Committed by Ben Hutchings

drm/radeon: narrow asic_init for virtualization

commit 884031f0 upstream.

Only needed on CIK+ due to the way pci reset is handled
by the GPU.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 95f76fb6
...@@ -629,8 +629,9 @@ bool radeon_card_posted(struct radeon_device *rdev) ...@@ -629,8 +629,9 @@ bool radeon_card_posted(struct radeon_device *rdev)
{ {
uint32_t reg; uint32_t reg;
/* for pass through, always force asic_init */ /* for pass through, always force asic_init for CI */
if (radeon_device_is_virtual()) if (rdev->family >= CHIP_BONAIRE &&
radeon_device_is_virtual())
return false; return false;
/* required for EFI mode on macbook2,1 which uses an r5xx asic */ /* required for EFI mode on macbook2,1 which uses an r5xx asic */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment