On Thu, Dec 06, 2012 at 05:53:05PM +0100, Martin Pieuchot wrote:
> Hey,
> 
> I've just committed the last part of the work I started during g2k12 and
> I would really appreciate some more tests before enabling drm(4) on
> macppc.
> 
> - First of all you need a machine with a G3 or G4 processor and a Radeon
>   graphic card.
> 
> - Then update your source tree to -current and make sure it is current
>   enough (you must have /sys/dev/agp.c rev 1.36).
> 
> - If you don't have them already, make sure to create /dev/agp0 and
>   /dev/drm0 using the appropriate MAKEDEV(8).
> 
> - Start by building a GENERIC kernel and make sure it works as expected.
> 
> - If everything went fine, you can now muild a custom kernel with:
> 
>       #option         DRMDEBUG
>       radeondrm*      at vgafb?       # ATI Radeon DRM driver
>       drm*            at radeondrm?

Still works fine for me on macppc mini & ibook g4, this time without
xorg.conf forcing the BusType to PCI

# ibook
memc0 at mainbus0: uni-n rev 0xd2
appleagp0 at pchb0
agp0 at appleagp0: aperture at 0x0, size 0x10000000
vgafb0 at pci0 dev 16 function 0 "ATI Radeon Mobility 9200" rev 0x01, mmio
radeondrm0 at vgafb0: irq 48
drm0 at radeondrm0

20:44] gail:~/ $DISPLAY=:0 xdriinfo
Screen 0: r200
[20:44] gail:~/ $DISPLAY=:0 glxgears -info
GL_RENDERER   = Mesa DRI R200 (RV280 5C63) AGP 4x  TCL

# mini
memc0 at mainbus0: uni-n rev 0xd2
appleagp0 at pchb0
agp0 at appleagp0: aperture at 0x0, size 0x10000000
vgafb0 at pci0 dev 16 function 0 "ATI Radeon 9200" rev 0x01, mmio
radeondrm0 at vgafb0: irq 48
drm0 at radeondrm0

20:46] mikey:~/ $DISPLAY=:0 xdriinfo
Screen 0: r200
[20:46] mikey:~/ $DISPLAY=:0 glxgears -info
GL_RENDERER   = Mesa DRI R200 (RV280 5962) AGP 4x  TCL

Full dmesg/xorg.0.log available if needed.

You've just tripled the amount of boxes drm-enabled here, thx!

Landry

Reply via email to