Re: svn commit: r255573 - head/sys/dev/drm2/radeon

2013-09-16 Thread Jean-Sébastien Pédron
On 16.09.2013 18:28, John Baldwin wrote: > Note that the PCI bus layer already does pci_save_state() during suspend > and pci_restore_state() during resume, so it is redundant for a driver to > do so. Yes. I mostly wanted to fix the calls for now because it triggers a panic. They'll probably go aw

Re: svn commit: r255573 - head/sys/dev/drm2/radeon

2013-09-16 Thread John Baldwin
On Saturday, September 14, 2013 1:24:42 pm Jean-Sebastien Pedron wrote: > Author: dumbbell > Date: Sat Sep 14 17:24:41 2013 > New Revision: 255573 > URL: http://svnweb.freebsd.org/changeset/base/255573 > > Log: > drm/radeon: Fix usage of pci_save_state() and pci_restore_state() > > Calling

svn commit: r255573 - head/sys/dev/drm2/radeon

2013-09-14 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Sep 14 17:24:41 2013 New Revision: 255573 URL: http://svnweb.freebsd.org/changeset/base/255573 Log: drm/radeon: Fix usage of pci_save_state() and pci_restore_state() Calling those functions with the drmn device as argument causes a panic, because it's not a dire