Commit graph

13507 commits

Author SHA1 Message Date
Dave Airlie
16f4b10170 radeon: remove unused texmem 2009-02-06 19:36:39 +10:00
Dave Airlie
0a43603c1c r300: fix some autostate batch setups 2009-02-06 09:18:15 +10:00
Dave Airlie
8fe61fc5ba radeon/r200 remove more unused code 2009-02-04 16:01:41 +10:00
Dave Airlie
b584b0728d radeon: make compile again.
Not tested but ripped out lots of stuff unneeded anymore time to test later
2009-02-04 15:58:08 +10:00
Dave Airlie
88a409fa8e r300: fix up CS for modesetting - gears under kms works 2009-02-04 15:12:16 +10:00
Dave Airlie
c370776b02 radeon: make generate_mipmap static 2009-02-04 13:41:05 +10:00
Dave Airlie
0bcac04100 r300: fix swtcl 2009-02-04 13:40:48 +10:00
Dave Airlie
c1a42f5cdc r200: fixup DMA region stuff 2009-02-04 23:40:41 +10:00
Dave Airlie
e44effcfcb radeon: call getpagesize once and store in a static 2009-02-04 13:16:41 +10:00
Dave Airlie
711cbf30a1 r300: make dma buffer reuse much more sensible 2009-02-04 13:16:03 +10:00
Dave Airlie
55c8a79a33 radeon: add support for stencil buffers + misc debug changes
this adds the stencil rb setup, along with misc changes to formatting
and debug
2009-02-04 11:19:26 +10:00
Dave Airlie
3f59bee438 r200: move to new mipmap interface 2009-02-04 11:17:37 +10:00
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