Commit graph

13495 commits

Author SHA1 Message Date
Dave Airlie
c85a3851b6 radeon: only do the fb read if we are mapping a VRAM object
this makes writing the DMA buffers got a lot better
2009-02-04 11:14:38 +10:00
Dave Airlie
e8f575d657 radeon_cs: move to inline cs_write_dword
this gets back some of the CPU this was wasting
2009-02-04 11:13:54 +10:00
Dave Airlie
4c078cfbad radeon: add a reference to the static buffers so they don't get deleted 2009-02-03 12:38:31 +10:00
Dave Airlie
d9cf131925 r300: fixup mipmap + texsubimage issues
This fixes a few regression in piglit, and adds some debug to the mipmap code
2009-02-03 09:49:45 +10:00
Dave Airlie
dbf72bdd3d radeon_bo: align size of bo to page size.
This is really required for the VRAM allocator upload function.
2009-02-03 09:48:27 +10:00
Dave Airlie
75762a8219 radeon: this code forgot to add dPriv x/y back to spans 2009-02-02 12:26:22 +10:00
Dave Airlie
f4dfafd50a r300: rename validate textures to validate buffers 2009-02-02 12:26:04 +10:00
Dave Airlie
f68a61d883 r200/r300: swtcl fixups to use old dma buffers on top of BOs 2009-01-31 02:00:12 +10:00
Dave Airlie
e45213d89b r200/r300: add aperture space checks 2009-01-31 01:59:57 +10:00
Dave Airlie
08bb7eedfb r200: fix swtcl - slow but works 2009-01-30 20:03:17 +10:00
Dave Airlie
70661f678e WIP comit 2009-01-29 20:46:31 +10:00
Dave Airlie
c9bb5cd20e r200: bring back single dma flush 2009-01-29 20:33:07 +10:00
Dave Airlie
59b183ce0f radeon: remove even more common code 2009-01-29 19:11:31 +10:00
Dave Airlie
5ba92a5b05 radeon/r200/r300: bring back old style DMA buffer on top of BOs.
this gets back a lot of the lots speed in gears on r500 at least

I also fixed the legacy bufmgr to deal when the dma space fills up
2009-01-29 16:47:37 +10:00
Dave Airlie
682ebc79d5 r200: start work on userspace clear for r200 2009-01-29 23:03:47 +10:00
Dave Airlie
5fbb00a11e r200: unref swtcl buffer correctly 2009-01-29 23:03:34 +10:00
Dave Airlie
b13746b558 r300: fix some whitespace 2009-01-29 23:03:21 +10:00
Dave Airlie
474d282a1d r200: re-write state handlers for new CS mechanism 2009-01-29 23:02:43 +10:00
Dave Airlie
31a112e6e8 r200: avoid setting variable on kernel mm setup 2009-01-29 23:01:41 +10:00
Dave Airlie
ab6edc9dce radeon: add repeated register packet one 2009-01-29 23:01:21 +10:00
Dave Airlie
f69e2f42d5 r200: fix up swtcl/tcl flushes 2009-01-22 22:50:36 +10:00
Dave Airlie
d93dc43382 radeon: plug memory leak running gears 2009-01-23 08:08:34 +10:00
Dave Airlie
9780127449 radeon: remove some debugging 2009-01-23 08:03:03 +10:00
Dave Airlie
8b56a86385 radeon: better free of array 2009-01-22 21:49:58 +10:00
Dave Airlie
860d0cc656 radeon: free all relocs in array 2009-01-22 21:47:38 +10:00
Dave Airlie
02952a41eb radeon: check relocs before deref 2009-01-22 21:38:35 +10:00
Dave Airlie
2c8b55b351 radeon: fix relocs even more 2009-01-22 21:35:58 +10:00
Dave Airlie
c66e38d24f radeon: fix reloc free harder 2009-01-22 21:31:06 +10:00
Dave Airlie
bb7756eaed radeon: free indices caught with valgrind 2009-01-22 21:29:22 +10:00
Dave Airlie
a5b54eb3c9 radeon: cleanup bo unref codepath in pending code
assert for bad case hopefully
2009-01-22 21:19:56 +10:00
Dave Airlie
11995807f1 radeon: fix counting for cfree handles in an inline 2009-01-22 21:12:54 +10:00
Dave Airlie
014c52eb6b radeon: add r100/r200 workarounds for legacy aging 2009-01-23 02:47:15 +10:00
Dave Airlie
4ca76586c2 r200: disable some debug 2009-01-23 00:23:10 +10:00
Dave Airlie
7d01cb37d9 r200: emit elts into a separate ELT bo 2009-01-23 00:17:38 +10:00
Dave Airlie
eda2284961 r200r300: start merging span code 2009-01-22 04:14:40 +10:00
Dave Airlie
0788e42471 r200: remove indexed verts 2009-01-22 02:38:00 +10:00
Dave Airlie
909aeb005f radeon: fix 1D textures 2009-01-22 01:24:50 +10:00
Dave Airlie
674b204ba7 r200: fix cubemaps 2009-01-22 01:17:31 +10:00
Dave Airlie
61bb82636f r200/r300: port r200 texture handling to common code
we now get texrect + trivial textures working
2009-01-22 01:05:43 +10:00
Dave Airlie
2bf31b7ffd r300/radeon: move face_for_target 2009-01-21 18:41:11 +10:00
Dave Airlie
e0ec3243e8 r300: start migrating common functions into common code 2009-01-21 02:21:45 +10:00
Dave Airlie
ddbd6ed326 r300: move to common texture_image object 2009-01-21 02:15:28 +10:00
Dave Airlie
33dc14c707 radeon/r200/r300: start to move to common miptree/texobj 2009-01-21 02:10:56 +10:00
Dave Airlie
d9c4a01bad r200: make tri render on my r200. 2009-01-21 01:40:33 +10:00
Dave Airlie
04029e5ddb r200: tri runs without crashing - doesn't draw anything 2009-01-20 22:59:34 +10:00
Dave Airlie
ed3a1cce73 r200: clear is working at least - not much else 2009-01-20 22:51:04 +10:00
Dave Airlie
08d90fe8a5 r300: move some more function to generic 2009-01-15 16:56:50 +10:00
Dave Airlie
1a51b76343 radeon/r200/r300: start to make cmd buf useful 2009-01-15 16:45:39 +10:00
Dave Airlie
0c0a55a211 r100/r200: move to new atom style emission 2009-01-15 16:38:59 +10:00
Dave Airlie
47e3a7d794 radeon: get ctx right in copybuffer 2009-01-14 15:54:28 +10:00