Michel Dänzer
aefc7a3443
Unify radeon offset checking.
...
Replace r300_check_offset() with generic radeon_check_offset(), which doesn't
reject valid offsets when the framebuffer area is at the very end of the card's
32 bit address space. Make radeon_check_and_fixup_offset() use
radeon_check_offset() as well.
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=7697 .
2006-12-14 19:31:56 +01:00
Roland Scheidegger
a9f57a2b9c
only allow specific type-3 packets to pass the verifier instead of all for r100/r200 as others might be unsafe (r300 already does this), and add checking for these we need but aren't safe. Check the RADEON_CP_INDX_BUFFER packet on both r200 and r300 as it isn't safe neither.
2006-10-10 02:24:19 +02:00
Dave Airlie
30a5787d36
Fix from Benh for ppc r300 scratch
2006-04-23 08:07:57 +00:00
Eric Anholt
6cb366b5a8
Compile fixes for FreeBSD.
2006-04-08 09:45:43 +00:00
Dave Airlie
985738f203
radeon fix up the PCI ids for new memory map like the kernel one.. not
...
perfect but should be very safe... align some other kernel bits i810
align with kernel
2006-03-25 07:16:14 +00:00
Aapo Tahkola
4436ab86d8
ia64 support for r300_scratch. (not tested)
2006-03-07 01:08:35 +00:00
Aapo Tahkola
b3fdf9bb7a
Add general-purpose packet for manipulating scratch registers (r300)
2006-03-06 20:08:50 +00:00
Dave Airlie
4c1c05ad96
missed a piece of benh patch
2006-02-19 12:06:27 +00:00
Dave Airlie
d75fa645ed
fix brace placement
2006-02-18 05:30:03 +00:00
Dave Airlie
7c18b2565e
add proper checking for bitblt multi
2006-02-18 03:21:29 +00:00
Dave Airlie
4791dc8856
major realigment of DRM CVS with kernel code, makes integration much easier
2006-02-18 02:53:36 +00:00
Aapo Tahkola
9a01593f1a
Add support for texture cache flushes (R300_TX_CNTL)
2006-01-20 21:45:28 +00:00
Aapo Tahkola
534bfb3742
Sync from r300_reg.h from Mesa.
2006-01-20 21:30:07 +00:00
Dave Airlie
bbcba83ef7
The radeon DRM wasn't passing sparse checking in the kernel, this fixes it
...
by adding a new kernel internal cmd buffer type, that has no userspace
members, and passes it around.
2006-01-02 05:39:19 +00:00
Dave Airlie
0b4fdc81d1
add texrect support for r300
2005-12-05 01:11:20 +00:00
Eric Anholt
1cc1f49825
Fix issues with buffer aging when more than one dma buffer is discarded in
...
a cmdbuf, which could lead to hangs.
Submitted by: Aapo Tahkola
2005-07-28 01:44:17 +00:00
Eric Anholt
ab59dd285c
Add latest r300 support from r300.sf.net CVS. Patch submitted by volodya,
...
with BSD fix from jkim and the r300_reg.h license from Nicolai Haehnle.
Big thanks to everyone involved!
2005-07-20 21:17:47 +00:00