mesa.git
15 years agor300: make r300 work with latest changes
Dave Airlie [Thu, 12 Feb 2009 04:36:12 +0000 (14:36 +1000)]
r300: make r300 work with latest changes

15 years agoradeon: make build without libdrm_radeon better
Dave Airlie [Thu, 12 Feb 2009 04:16:24 +0000 (14:16 +1000)]
radeon: make build without libdrm_radeon better

15 years agoradeon/r200/r300: make build again with tracker changes
Dave Airlie [Thu, 12 Feb 2009 14:05:39 +0000 (00:05 +1000)]
radeon/r200/r300: make build again with tracker changes

15 years agoradeon: remove depends on libdrm_radeon for now.
Dave Airlie [Thu, 12 Feb 2009 13:53:41 +0000 (23:53 +1000)]
radeon: remove depends on libdrm_radeon for now.

will fixup makefiles later to detect and use libdrm_Radeon in proper
places

15 years agoradeon/r200/r300: make build with out libdrm_radeon installed for now
Dave Airlie [Thu, 12 Feb 2009 13:52:51 +0000 (23:52 +1000)]
radeon/r200/r300: make build with out libdrm_radeon installed for now

15 years agor200/r300: get up to speed on renamed files
Dave Airlie [Thu, 12 Feb 2009 12:48:18 +0000 (22:48 +1000)]
r200/r300: get up to speed on renamed files

15 years agoradeon: renaming and headers cleanup
Dave Airlie [Thu, 12 Feb 2009 12:38:10 +0000 (22:38 +1000)]
radeon: renaming and headers cleanup

15 years agor100/r200: fix front rendering issue.
Dave Airlie [Thu, 12 Feb 2009 11:44:34 +0000 (21:44 +1000)]
r100/r200: fix front rendering issue.

15 years agoradeon/r200/r300: another big merge upheavel.
Dave Airlie [Thu, 12 Feb 2009 11:16:39 +0000 (21:16 +1000)]
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

15 years agor300: disable assert that fires
Dave Airlie [Wed, 11 Feb 2009 09:04:39 +0000 (19:04 +1000)]
r300: disable assert that fires

15 years agoradeon: unmap in case of two dma regions being used for one cmdbuf
Dave Airlie [Wed, 11 Feb 2009 09:03:56 +0000 (19:03 +1000)]
radeon: unmap in case of two dma regions being used for one cmdbuf

15 years agoradeon: cleanup cmdbuffer
Dave Airlie [Wed, 11 Feb 2009 06:52:56 +0000 (16:52 +1000)]
radeon: cleanup cmdbuffer

15 years agor300: fix front buffer rendering properly fixes tests in glean
Dave Airlie [Wed, 11 Feb 2009 06:50:19 +0000 (16:50 +1000)]
r300: fix front buffer rendering properly fixes tests in glean

15 years agor200: fix build
Dave Airlie [Wed, 11 Feb 2009 10:10:59 +0000 (20:10 +1000)]
r200: fix build

15 years agoradeon: fix span init needs more work
Dave Airlie [Tue, 10 Feb 2009 21:02:18 +0000 (07:02 +1000)]
radeon: fix span init needs more work

15 years agoradeon/r200/r300: merge span code into single shared file
Dave Airlie [Tue, 10 Feb 2009 19:47:55 +0000 (05:47 +1000)]
radeon/r200/r300: merge span code into single shared file

15 years agoradeon/r200: flush vertices when data in cmdbuf.
Dave Airlie [Tue, 10 Feb 2009 19:07:31 +0000 (05:07 +1000)]
radeon/r200: flush vertices when data in cmdbuf.

This fixes a whole bunch of regressions in piglit

15 years agoradeon: r100 can't use some of the texture formats.
Dave Airlie [Tue, 10 Feb 2009 16:41:39 +0000 (02:41 +1000)]
radeon: r100 can't use some of the texture formats.

this fixes the texrect-many test

15 years agoradeon/r200/r300: fix span code for depth reading.
Dave Airlie [Tue, 10 Feb 2009 16:41:11 +0000 (02:41 +1000)]
radeon/r200/r300: fix span code for depth reading.

makes the maskedClear test work

15 years agor100: remove debug code
Dave Airlie [Tue, 10 Feb 2009 13:39:13 +0000 (23:39 +1000)]
r100: remove debug code

15 years agor100: fix 3D texture fallback
Dave Airlie [Tue, 10 Feb 2009 13:38:51 +0000 (23:38 +1000)]
r100: fix 3D texture fallback

15 years agoradeon: fix fallback case where t->mt is valid NULL
Dave Airlie [Tue, 10 Feb 2009 13:36:28 +0000 (23:36 +1000)]
radeon: fix fallback case where t->mt is valid NULL

15 years agoradeon: put back state emission lastcmd
Dave Airlie [Mon, 9 Feb 2009 18:57:37 +0000 (04:57 +1000)]
radeon: put back state emission lastcmd

15 years agor200: invalidate texture paths in some more places
Dave Airlie [Mon, 9 Feb 2009 18:56:16 +0000 (04:56 +1000)]
r200: invalidate texture paths in some more places

15 years agoradeon: major cleanups removing old dead codepaths.
Dave Airlie [Mon, 9 Feb 2009 18:54:24 +0000 (04:54 +1000)]
radeon: major cleanups removing old dead codepaths.

This should be working gears on radeon state

15 years agoradeon: fix alignment issues in ELT code
Dave Airlie [Mon, 9 Feb 2009 13:19:42 +0000 (23:19 +1000)]
radeon: fix alignment issues in ELT code

15 years agoradeon: make more r100 work
Dave Airlie [Sun, 8 Feb 2009 17:50:38 +0000 (03:50 +1000)]
radeon: make more r100 work

15 years agor200: cleanup some bits that aren't used
Dave Airlie [Sun, 8 Feb 2009 17:50:07 +0000 (03:50 +1000)]
r200: cleanup some bits that aren't used

15 years agoradeon: port over arrays code even though not in use yet
Dave Airlie [Fri, 6 Feb 2009 10:30:03 +0000 (20:30 +1000)]
radeon: port over arrays code even though not in use yet

15 years agor100: fixup radeon so gears seems to work
Dave Airlie [Fri, 6 Feb 2009 09:57:55 +0000 (19:57 +1000)]
r100: fixup radeon so gears seems to work

15 years agoradeon: remove unused texmem
Dave Airlie [Fri, 6 Feb 2009 09:36:39 +0000 (19:36 +1000)]
radeon: remove unused texmem

15 years agor300: fix some autostate batch setups
Dave Airlie [Thu, 5 Feb 2009 23:18:15 +0000 (09:18 +1000)]
r300: fix some autostate batch setups

15 years agoradeon/r200 remove more unused code
Dave Airlie [Wed, 4 Feb 2009 06:01:41 +0000 (16:01 +1000)]
radeon/r200 remove more unused code

15 years agoradeon: make compile again.
Dave Airlie [Wed, 4 Feb 2009 05:58:08 +0000 (15:58 +1000)]
radeon: make compile again.

Not tested but ripped out lots of stuff unneeded anymore time to test later

15 years agor300: fix up CS for modesetting - gears under kms works
Dave Airlie [Wed, 4 Feb 2009 05:12:16 +0000 (15:12 +1000)]
r300: fix up CS for modesetting - gears under kms works

15 years agoradeon: make generate_mipmap static
Dave Airlie [Wed, 4 Feb 2009 03:41:05 +0000 (13:41 +1000)]
radeon: make generate_mipmap static

15 years agor300: fix swtcl
Dave Airlie [Wed, 4 Feb 2009 03:40:48 +0000 (13:40 +1000)]
r300: fix swtcl

15 years agor200: fixup DMA region stuff
Dave Airlie [Wed, 4 Feb 2009 13:40:41 +0000 (23:40 +1000)]
r200: fixup DMA region stuff

15 years agoradeon: call getpagesize once and store in a static
Dave Airlie [Wed, 4 Feb 2009 03:16:41 +0000 (13:16 +1000)]
radeon: call getpagesize once and store in a static

15 years agor300: make dma buffer reuse much more sensible
Dave Airlie [Wed, 4 Feb 2009 03:16:03 +0000 (13:16 +1000)]
r300: make dma buffer reuse much more sensible

15 years agoradeon: add support for stencil buffers + misc debug changes
Dave Airlie [Wed, 4 Feb 2009 01:19:26 +0000 (11:19 +1000)]
radeon: add support for stencil buffers + misc debug changes

this adds the stencil rb setup, along with misc changes to formatting
and debug

15 years agor200: move to new mipmap interface
Dave Airlie [Wed, 4 Feb 2009 01:17:37 +0000 (11:17 +1000)]
r200: move to new mipmap interface

15 years agoradeon: only do the fb read if we are mapping a VRAM object
Dave Airlie [Wed, 4 Feb 2009 01:14:38 +0000 (11:14 +1000)]
radeon: only do the fb read if we are mapping a VRAM object

this makes writing the DMA buffers got a lot better

15 years agoradeon_cs: move to inline cs_write_dword
Dave Airlie [Wed, 4 Feb 2009 01:13:54 +0000 (11:13 +1000)]
radeon_cs: move to inline cs_write_dword

this gets back some of the CPU this was wasting

15 years agoradeon: add a reference to the static buffers so they don't get deleted
Dave Airlie [Tue, 3 Feb 2009 02:38:31 +0000 (12:38 +1000)]
radeon: add a reference to the static buffers so they don't get deleted

15 years agor300: fixup mipmap + texsubimage issues
Dave Airlie [Mon, 2 Feb 2009 23:49:45 +0000 (09:49 +1000)]
r300: fixup mipmap + texsubimage issues

This fixes a few regression in piglit, and adds some debug to the mipmap code

15 years agoradeon_bo: align size of bo to page size.
Dave Airlie [Mon, 2 Feb 2009 23:48:27 +0000 (09:48 +1000)]
radeon_bo: align size of bo to page size.

This is really required for the VRAM allocator upload function.

15 years agoradeon: this code forgot to add dPriv x/y back to spans
Dave Airlie [Mon, 2 Feb 2009 02:26:22 +0000 (12:26 +1000)]
radeon: this code forgot to add dPriv x/y back to spans

15 years agor300: rename validate textures to validate buffers
Dave Airlie [Mon, 2 Feb 2009 02:26:04 +0000 (12:26 +1000)]
r300: rename validate textures to validate buffers

15 years agor200/r300: swtcl fixups to use old dma buffers on top of BOs
Dave Airlie [Fri, 30 Jan 2009 16:00:12 +0000 (02:00 +1000)]
r200/r300: swtcl fixups to use old dma buffers on top of BOs

15 years agor200/r300: add aperture space checks
Dave Airlie [Fri, 30 Jan 2009 15:59:57 +0000 (01:59 +1000)]
r200/r300: add aperture space checks

15 years agor200: fix swtcl - slow but works
Dave Airlie [Thu, 29 Jan 2009 13:19:11 +0000 (23:19 +1000)]
r200: fix swtcl - slow but works

15 years agoWIP comit
Dave Airlie [Thu, 29 Jan 2009 10:46:31 +0000 (20:46 +1000)]
WIP comit

15 years agor200: bring back single dma flush
Dave Airlie [Thu, 29 Jan 2009 10:33:07 +0000 (20:33 +1000)]
r200: bring back single dma flush

15 years agoradeon: remove even more common code
Dave Airlie [Thu, 29 Jan 2009 09:11:31 +0000 (19:11 +1000)]
radeon: remove even more common code

15 years agoradeon/r200/r300: bring back old style DMA buffer on top of BOs.
Dave Airlie [Thu, 29 Jan 2009 06:47:37 +0000 (16:47 +1000)]
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

15 years agor200: start work on userspace clear for r200
Dave Airlie [Thu, 29 Jan 2009 13:03:47 +0000 (23:03 +1000)]
r200: start work on userspace clear for r200

15 years agor200: unref swtcl buffer correctly
Dave Airlie [Thu, 29 Jan 2009 13:03:34 +0000 (23:03 +1000)]
r200: unref swtcl buffer correctly

15 years agor300: fix some whitespace
Dave Airlie [Thu, 29 Jan 2009 13:03:21 +0000 (23:03 +1000)]
r300: fix some whitespace

15 years agor200: re-write state handlers for new CS mechanism
Dave Airlie [Thu, 29 Jan 2009 13:02:43 +0000 (23:02 +1000)]
r200: re-write state handlers for new CS mechanism

15 years agor200: avoid setting variable on kernel mm setup
Dave Airlie [Thu, 29 Jan 2009 13:01:41 +0000 (23:01 +1000)]
r200: avoid setting variable on kernel mm setup

15 years agoradeon: add repeated register packet one
Dave Airlie [Thu, 29 Jan 2009 13:01:21 +0000 (23:01 +1000)]
radeon: add repeated register packet one

15 years agor200: fix up swtcl/tcl flushes
Dave Airlie [Thu, 22 Jan 2009 12:49:16 +0000 (22:49 +1000)]
r200: fix up swtcl/tcl flushes

15 years agoradeon: plug memory leak running gears
Dave Airlie [Thu, 22 Jan 2009 22:08:34 +0000 (08:08 +1000)]
radeon: plug memory leak running gears

15 years agoradeon: remove some debugging
Dave Airlie [Thu, 22 Jan 2009 21:34:45 +0000 (07:34 +1000)]
radeon: remove some debugging

15 years agoradeon: better free of array
Dave Airlie [Thu, 22 Jan 2009 11:49:58 +0000 (21:49 +1000)]
radeon: better free of array

15 years agoradeon: free all relocs in array
Dave Airlie [Thu, 22 Jan 2009 11:47:38 +0000 (21:47 +1000)]
radeon: free all relocs in array

15 years agoradeon: check relocs before deref
Dave Airlie [Thu, 22 Jan 2009 11:38:35 +0000 (21:38 +1000)]
radeon: check relocs before deref

15 years agoradeon: fix relocs even more
Dave Airlie [Thu, 22 Jan 2009 11:35:58 +0000 (21:35 +1000)]
radeon: fix relocs even more

15 years agoradeon: fix reloc free harder
Dave Airlie [Thu, 22 Jan 2009 11:31:06 +0000 (21:31 +1000)]
radeon: fix reloc free harder

15 years agoradeon: free indices caught with valgrind
Dave Airlie [Thu, 22 Jan 2009 11:29:22 +0000 (21:29 +1000)]
radeon: free indices caught with valgrind

15 years agoradeon: cleanup bo unref codepath in pending code
Dave Airlie [Thu, 22 Jan 2009 11:19:56 +0000 (21:19 +1000)]
radeon: cleanup bo unref codepath in pending code

assert for bad case hopefully

15 years agoradeon: fix counting for cfree handles in an inline
Dave Airlie [Thu, 22 Jan 2009 11:12:54 +0000 (21:12 +1000)]
radeon: fix counting for cfree handles in an inline

15 years agoradeon: add r100/r200 workarounds for legacy aging
Dave Airlie [Thu, 22 Jan 2009 16:47:15 +0000 (02:47 +1000)]
radeon: add r100/r200 workarounds for legacy aging

15 years agor200: disable some debug
Dave Airlie [Thu, 22 Jan 2009 14:23:10 +0000 (00:23 +1000)]
r200: disable some debug

15 years agor200: emit elts into a separate ELT bo
Dave Airlie [Thu, 22 Jan 2009 14:17:38 +0000 (00:17 +1000)]
r200: emit elts into a separate ELT bo

15 years agor200r300: start merging span code
Dave Airlie [Wed, 21 Jan 2009 16:53:30 +0000 (02:53 +1000)]
r200r300: start merging span code

15 years agor200: remove indexed verts
Dave Airlie [Wed, 21 Jan 2009 16:38:00 +0000 (02:38 +1000)]
r200: remove indexed verts

15 years agoradeon: fix 1D textures
Dave Airlie [Wed, 21 Jan 2009 15:24:50 +0000 (01:24 +1000)]
radeon: fix 1D textures

15 years agor200: fix cubemaps
Dave Airlie [Wed, 21 Jan 2009 15:17:31 +0000 (01:17 +1000)]
r200: fix cubemaps

15 years agor200/r300: port r200 texture handling to common code
Dave Airlie [Wed, 21 Jan 2009 15:05:43 +0000 (01:05 +1000)]
r200/r300: port r200 texture handling to common code

we now get texrect + trivial textures working

15 years agor300/radeon: move face_for_target
Dave Airlie [Wed, 21 Jan 2009 08:41:11 +0000 (18:41 +1000)]
r300/radeon: move face_for_target

15 years agor300: start migrating common functions into common code
Dave Airlie [Tue, 20 Jan 2009 16:21:45 +0000 (02:21 +1000)]
r300: start migrating common functions into common code

15 years agor300: move to common texture_image object
Dave Airlie [Tue, 20 Jan 2009 16:15:28 +0000 (02:15 +1000)]
r300: move to common texture_image object

15 years agoradeon/r200/r300: start to move to common miptree/texobj
Dave Airlie [Tue, 20 Jan 2009 16:10:32 +0000 (02:10 +1000)]
radeon/r200/r300: start to move to common miptree/texobj

15 years agor200: make tri render on my r200.
Dave Airlie [Tue, 20 Jan 2009 15:40:33 +0000 (01:40 +1000)]
r200: make tri render on my r200.

15 years agor200: tri runs without crashing - doesn't draw anything
Dave Airlie [Tue, 20 Jan 2009 12:59:34 +0000 (22:59 +1000)]
r200: tri runs without crashing - doesn't draw anything

15 years agor200: clear is working at least - not much else
Dave Airlie [Tue, 20 Jan 2009 12:51:04 +0000 (22:51 +1000)]
r200: clear is working at least - not much else

15 years agor300: move some more function to generic
Dave Airlie [Thu, 15 Jan 2009 06:50:58 +0000 (16:50 +1000)]
r300: move some more function to generic

15 years agoradeon/r200/r300: start to make cmd buf useful
Dave Airlie [Thu, 15 Jan 2009 06:41:01 +0000 (16:41 +1000)]
radeon/r200/r300: start to make cmd buf useful

15 years agor100/r200: move to new atom style emission
Dave Airlie [Thu, 15 Jan 2009 06:25:37 +0000 (16:25 +1000)]
r100/r200: move to new atom style emission

15 years agoradeon: get ctx right in copybuffer
Dave Airlie [Wed, 14 Jan 2009 05:54:28 +0000 (15:54 +1000)]
radeon: get ctx right in copybuffer

15 years agor200: add missing symbols
Dave Airlie [Wed, 14 Jan 2009 05:48:02 +0000 (15:48 +1000)]
r200: add missing symbols

15 years agoradeon/r200/r300: make legacy emit non-r300 specific
Dave Airlie [Wed, 14 Jan 2009 05:45:29 +0000 (15:45 +1000)]
radeon/r200/r300: make legacy emit non-r300 specific

15 years agoradeon: move debug symbol add DRI2
Dave Airlie [Wed, 14 Jan 2009 05:21:45 +0000 (15:21 +1000)]
radeon: move debug symbol add DRI2

15 years agor300: start moving new r300 cmdbuf into common code
Dave Airlie [Wed, 14 Jan 2009 05:12:57 +0000 (15:12 +1000)]
r300: start moving new r300 cmdbuf into common code

15 years agoradeon/r200/r300: consolidate swap buffers
Dave Airlie [Wed, 14 Jan 2009 03:38:12 +0000 (13:38 +1000)]
radeon/r200/r300: consolidate swap buffers

15 years agoradeon: remove old lock code
Dave Airlie [Wed, 14 Jan 2009 03:38:03 +0000 (13:38 +1000)]
radeon: remove old lock code

15 years agoradeon/r200/r300: consolidate the buffer copy/flip code into one place
Dave Airlie [Wed, 14 Jan 2009 03:23:24 +0000 (13:23 +1000)]
radeon/r200/r300: consolidate the buffer copy/flip code into one place

15 years agoradeon/r200/r300: attempt to move lock to common code
Dave Airlie [Wed, 14 Jan 2009 02:04:00 +0000 (12:04 +1000)]
radeon/r200/r300: attempt to move lock to common code