CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2011/05/30 15:50:46
Modified files: sys/dev/pci/drm: files.drm r600_blit.c radeon_cp.c radeon_drv.c radeon_drv.h radeon_irq.c Added files: sys/dev/pci/drm: radeon_cs.c Log message: Add RADEON_CS ioctl support for r600 and r700. This is a faked up version of the gem command submission method for r600 required for OpenGL support on these chipsets. Currently support is not perfect. since these chips have a rather funky ringbuffer based interrupt method which this code does not yet support so interrupt based polling methods must be turned off in mesa. I've not found a good way which to do that per-driver, so until I work that out I the following .drirc (or /etc/drirc) chunk (provided by Brynet after I was too slack to provide it myself) will be needed: <driconf> <device screen="0" driver="r600"> <application name="all"> <option name="fthrottle_mode" value="0"/> <option name="vblank_mode" value="0"/> </application> </device> </driconf> Tested by many on tech@. While it provided more problems, this diff made espie@ stop nagging me when he finally found out it existed.