Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140037518
D3561.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
882 B
Referenced Files
None
Subscribers
None
D3561.diff
View Options
Index: head/sys/dev/drm2/radeon/radeon_device.c
===================================================================
--- head/sys/dev/drm2/radeon/radeon_device.c
+++ head/sys/dev/drm2/radeon/radeon_device.c
@@ -1342,14 +1342,10 @@
radeon_agp_suspend(rdev);
- pci_save_state(device_get_parent(dev->dev));
#ifdef FREEBSD_WIP
if (state.event == PM_EVENT_SUSPEND) {
/* Shut down the device */
pci_disable_device(dev->pdev);
-#endif /* FREEBSD_WIP */
- pci_set_powerstate(dev->dev, PCI_POWERSTATE_D3);
-#ifdef FREEBSD_WIP
}
console_lock();
#endif /* FREEBSD_WIP */
@@ -1380,10 +1376,6 @@
#ifdef FREEBSD_WIP
console_lock();
-#endif /* FREEBSD_WIP */
- pci_set_powerstate(device_get_parent(dev->dev), PCI_POWERSTATE_D0);
- pci_restore_state(device_get_parent(dev->dev));
-#ifdef FREEBSD_WIP
if (pci_enable_device(dev->pdev)) {
console_unlock();
return -1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 20, 9:26 AM (6 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27094312
Default Alt Text
D3561.diff (882 B)
Attached To
Mode
D3561: radeon_suspend_kms: don't mess with pci state that's managed by the bus
Attached
Detach File
Event Timeline
Log In to Comment