projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc76cbf
)
drm/radeon: narrow asic_init for virtualization
author
Alex Deucher
<
[email protected]
>
Mon, 19 Sep 2016 16:35:22 +0000
(12:35 -0400)
committer
Alex Deucher
<
[email protected]
>
Thu, 22 Sep 2016 14:24:15 +0000
(10:24 -0400)
Only needed on CIK+ due to the way pci reset is handled
by the GPU.
Signed-off-by: Alex Deucher <
[email protected]
>
Cc:
[email protected]
drivers/gpu/drm/radeon/radeon_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_device.c
b/drivers/gpu/drm/radeon/radeon_device.c
index bbc8958916319ff35632bbae03ee92924b416239..eb92aef46e3cfcf99a07d26272fac7725d0cfaa8 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_device.c
+++ b/
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 */