My wonderful MPB (15", 2.6.18 + mactel patches, debian/etch)
was working seamlessly with the ATI driver w/o kernel module.
When I played a DVD I found out that performance sucked because
there was no XVideo support w/o the fglrx kernel module.
I had the fglrx-8.28.8 debian packages installed but the kernel module
wouldn't build for linux-2.6.18 so I upgraded to 8.29.6.
After installing the fglrx driver/module (I'm using the kernel agpgart
module, not the ATI one) and restarting X the log reported XVideo
support and DVD playback was alright w/o loading the CPU much.
(as always make sure DMA is enabled on the DVD player [hdparm -d1]).
The surprise came when I tried to suspend the machine. It would just
freeze. After some playing around I found that the proprietary
routines ATI uses to save/restore the PCI config register state
are responsible. After substituting theirs for the generic linux versions
everything worked fine.
After doing some close inspection of the code and having
__ke_pci_read_config_dword() print it's arguments (wrapper called
by firegl_pci_save_state() confirmed my suspicion: the pointers passed to
__ke_pci_read_config_dword() are completely bogus and lead to
memory corruption and/or other bad things.
Using the attached patch squeezes this bug
PS: Please CC me
strauman theatsign slac adot stanford adot edu
when replying to this message, I'm not subscribed to this list
Get latest updates about Open Source Projects, Conferences and News.