Page MenuHomeFreeBSD

D3561.diff
No OneTemporary

D3561.diff

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

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)

Event Timeline