Kaynağa Gözat

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: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Alex Deucher 9 yıl önce
ebeveyn
işleme
884031f0aa
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      drivers/gpu/drm/radeon/radeon_device.c

+ 3 - 2
drivers/gpu/drm/radeon/radeon_device.c

@@ -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 */