Commit graph

13529 commits

Author SHA1 Message Date
Dave Airlie
1090d206de radeon/r200/r300: another big merge upheavel.
This merges lots of the hw state atom emission and firevertices code.

it also removes a lot of the extra radeon crap from r300

and merge scissor
2009-02-12 21:16:39 +10:00
Dave Airlie
f3f1f7dc20 r300: disable assert that fires 2009-02-11 19:04:39 +10:00
Dave Airlie
3713a7accf radeon: unmap in case of two dma regions being used for one cmdbuf 2009-02-11 19:03:56 +10:00
Dave Airlie
7e98907eb8 radeon: cleanup cmdbuffer 2009-02-11 16:52:56 +10:00
Dave Airlie
832446c892 r300: fix front buffer rendering properly fixes tests in glean 2009-02-11 16:50:19 +10:00
Dave Airlie
c5d9a7ab30 r200: fix build 2009-02-11 20:10:59 +10:00
Dave Airlie
edbe1fac6a radeon: fix span init needs more work 2009-02-11 07:02:18 +10:00
Dave Airlie
45496122b7 radeon/r200/r300: merge span code into single shared file 2009-02-11 05:47:55 +10:00
Dave Airlie
7394c429c0 radeon/r200: flush vertices when data in cmdbuf.
This fixes a whole bunch of regressions in piglit
2009-02-11 05:07:31 +10:00
Dave Airlie
18aca218a2 radeon: r100 can't use some of the texture formats.
this fixes the texrect-many test
2009-02-11 02:41:39 +10:00
Dave Airlie
4c36282ef9 radeon/r200/r300: fix span code for depth reading.
makes the maskedClear test work
2009-02-11 02:41:11 +10:00
Dave Airlie
3e4d0c2a5d r100: remove debug code 2009-02-10 23:39:13 +10:00
Dave Airlie
639b5fca0c r100: fix 3D texture fallback 2009-02-10 23:38:51 +10:00
Dave Airlie
c3ca94bc91 radeon: fix fallback case where t->mt is valid NULL 2009-02-10 23:36:28 +10:00
Dave Airlie
b1df5ed6db radeon: put back state emission lastcmd 2009-02-10 04:57:37 +10:00
Dave Airlie
d2fa89140e r200: invalidate texture paths in some more places 2009-02-10 04:56:16 +10:00
Dave Airlie
ccf7814a31 radeon: major cleanups removing old dead codepaths.
This should be working gears on radeon state
2009-02-10 04:54:24 +10:00
Dave Airlie
9df844b109 radeon: fix alignment issues in ELT code 2009-02-09 23:19:42 +10:00
Dave Airlie
3fafaf8959 radeon: make more r100 work 2009-02-09 03:50:38 +10:00
Dave Airlie
abdf1f65d2 r200: cleanup some bits that aren't used 2009-02-09 03:50:07 +10:00
Dave Airlie
e223b7c312 radeon: port over arrays code even though not in use yet 2009-02-06 20:30:03 +10:00
Dave Airlie
36d3f3e74a r100: fixup radeon so gears seems to work 2009-02-06 20:04:42 +10:00
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