Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 884031f0 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: narrow asic_init for virtualization



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>
Cc: stable@vger.kernel.org
parent fc76cbf4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -661,8 +661,9 @@ bool radeon_card_posted(struct radeon_device *rdev)
{
	uint32_t reg;

	/* for pass through, always force asic_init */
	if (radeon_device_is_virtual())
	/* for pass through, always force asic_init for CI */
	if (rdev->family >= CHIP_BONAIRE &&
	    radeon_device_is_virtual())
		return false;

	/* required for EFI mode on macbook2,1 which uses an r5xx asic */