CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2010/05/26 16:49:21
Modified files: sys/dev/pci/drm: radeon_drm.h radeon_state.c Log message: add a new getparam member to get the contents of scratch register 3 (the one we use to dump the software interrupt number). For some strange reason noticed upstream, writeback doesn't seem to be working for this value for use, so instad of using the get_scratch functions, we fallback to a direct register read (more bus traffic, but it actually works). This is to be used by new mesa on r100 and r200 since they reworked stuff for dri2, and we have local patches that prevent userland mapping the registers in dri clients. Tested by Josh Elsasser on a M9 (rv250), thanks very much to him.