PCI Radeon 9250 - DRI/DRM in 8.0-RELEASE

Robert Noland rnoland at FreeBSD.org
Thu Dec 10 19:50:33 UTC 2009


On Thu, 2009-12-10 at 13:27 -0500, Steve Polyack wrote:
> (II) RADEON(0): [pci] 8192 kB allocated with handle 0xe9b02000
> (II) RADEON(0): [pci] ring handle = 0xe9b02000
> (II) RADEON(0): [pci] Ring mapped at 0x28a7d000
> (II) RADEON(0): [pci] Ring contents 0x00eeeeec
> (II) RADEON(0): [pci] ring read ptr handle = 0xe9c03000
> (II) RADEON(0): [pci] Ring read ptr mapped at 0x286ff000
> (II) RADEON(0): [pci] Ring read ptr contents 0x00ffffff
> (II) RADEON(0): [pci] vertex/indirect buffers handle = 0xe9c04000
> (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x30c00000
> (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00ffffff
> (II) RADEON(0): [pci] GART texture map handle = 0xe9e04000
> (II) RADEON(0): [pci] GART Texture map mapped at 0x30e00000
> (II) RADEON(0): [drm] register handle = 0xfe5d0000


The corruption is due to the ring not being zeroed as it should be.
This seems to only occur on i386 builds and even then, only sometimes.
I'm trying to look into this issue again and I've previously eliminated
everything except libdrm and the kernel from this issue by testing with
a small sample program that directly interacts with drm without X
running.  All of the pointers seem to be correct and valid, but the
contents during startup should always be 0.

Can you do a "sysctl hw.busdma" while X is up with drm enabled?

robert.

-- 
Robert Noland <rnoland at FreeBSD.org>
FreeBSD



More information about the freebsd-x11 mailing list