mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 03:24:55 +08:00
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
This commit is contained in:
parent
fc76cbf456
commit
884031f0aa
@ -661,8 +661,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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user