summaryrefslogtreecommitdiff
path: root/lib/libGL/dri
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-05-26 22:55:54 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-05-26 22:55:54 +0000
commit80f657b7b2ab8cf9a962f27b35de7caf49f0b575 (patch)
treea41aa27052372f7544eceb91a7a7999f6be204d6 /lib/libGL/dri
parent2607fa83845d78bc1602d2f86e7319f76ff88b74 (diff)
Bring back the local patch that has a habit of vanishing every time we
update mesa. Specifically, we disallow in radeondrm for dri clients mapping registers, so don't try and map them (and thus fail as we currently were). for r300+ this was only used for falling back on old drm versions (doesn't matter). For r100, the new BO abstraction used the SWI number (in hardware scratch reg 3) for the buffer age, so use the newly added getparam member to grab that info instead of trying to read the mapped registers. Update to the lastest kernel headers before you even think about building this or trying to use a snapshot on r100/r200. So now radeon works with mesa again, hoorah! Tested on rv250 by Josh Elsasser, and on R420 (and x800) by myself.
Diffstat (limited to 'lib/libGL/dri')
0 files changed, 0 insertions, 0 deletions