Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-09 | r600: don't emit htile regs | Alex Deucher | |
These are needed for HiZ which is not currently used and the _BASE reg requires a reloc which is not currently supported in the drm. | |||
2009-10-29 | r600: remove the no rrb messages | Alex Deucher | |
2009-10-28 | r600: add occlusion query support | Alex Deucher | |
Based on initial patch from Stephan Schmid <stephan_2303@gmx.de>. Basic idea is to dump the zpass count at the start and end of the query and subtract to get the total number of visible fragments. HW writes alternating qwords for up to 4 DBs. On the first pass, we start at buffer address + 0; on the second pass, we start at buffer address + 8 (bytes). The resulting buffer at the end of the query looks like: qw[0]: db0 start qw[1]: db0 end ... qw[6]: db3 start qw[7]: db3 end The MSB of each qword is the valid bit and the lower 63 bits are the zpass count for that DB. OQ on RV740 is disabled at the moment as it only seems to report results for half of its DBs. This needs further investigation. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2009-10-23 | r600: remove remains of old tnl pipeline | Alex Deucher | |
2009-10-23 | r600: fix render size prediction | Alex Deucher | |
2009-09-25 | radeon: Fix newlines. | Michal Krol | |
2009-09-24 | r600 : fix draw_prim bug: vertex fetcher setting. | Richard Li | |
2009-09-22 | r600 : add draw_prim support. | Richard Li | |
2009-09-14 | r600: add span support for 1D tiles | Alex Deucher | |
1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z* | |||
2009-09-11 | r600: enable caching of vertex programs | Andre Maasikas | |
2009-09-09 | r600: check if textures are actually enabled before submission | Alex Deucher | |
noticed by taiu on IRC. | |||
2009-09-03 | r600: rework cb/db setup | Alex Deucher | |
Setup the regs when we emit rather than during state setup. In certain cases a proper CB target was never emitted. This fixes bug 23658. | |||
2009-08-31 | r600: Convert to shared debug code and add a few new debug messages. | Pauli Nieminen | |
There is only a few functions that have debugging enabled now. | |||
2009-08-24 | r600: fix state emit sizes | Alex Deucher | |
2009-08-23 | r600: fix count for CB/DB target state | Alex Deucher | |
2009-08-22 | r600: make state emit more fine grained | Alex Deucher | |
Gives a nice speed boost in most apps since we only emit what state we need. | |||
2009-08-22 | r600: move full state to radeon state atoms | Alex Deucher | |
2009-08-22 | r600: add support for RS880 | Alex Deucher | |
2009-08-21 | r600: better default state size. | Alex Deucher | |
Hopefully suokko's emit size impovements will land soon. | |||
2009-08-20 | r600: convert to using common radeon state atoms | Alex Deucher | |
switches more state handling to common code. We need should be more fine grained with the state atoms eventually. | |||
2009-08-20 | r600: improve state emission | Alex Deucher | |
Slowing migrating to atom based system like the other radeon drivers. | |||
2009-08-20 | r600: split state emit into block specific functions | Alex Deucher | |
We probably want to go finer grained eventually, but this is a good start. | |||
2009-08-20 | r600: move misc regs from general state | Alex Deucher | |
These regs don't use the SET_CONTEXT_REG packet, so they weren't getting set correctly. | |||
2009-08-20 | r600: rework emit code | Alex Deucher | |
make sure we allocate enough space for relocs | |||
2009-08-19 | r600: minor cleanup | Alex Deucher | |
2009-08-14 | r600: emit SURFACE_BASE_UPDATE on depth base updates on rv6xx | Alex Deucher | |
2009-08-13 | r600: move non-surface related cb state to general state | Alex Deucher | |
2009-08-13 | r600: move non-surface related depth state to general state | Alex Deucher | |
2009-08-12 | r600: state cleanups | Alex Deucher | |
2009-07-31 | r600: make sure bos are valid before usign that | Alex Deucher | |
2009-07-31 | r600: remove unused offset_mod stuff | Alex Deucher | |
this is a step in migrating to the common cs code | |||
2009-07-31 | r600: unify state emit into one function | Alex Deucher | |
2009-07-31 | r600: re-arrange state setup and emit so they are not mixed | Alex Deucher | |
2009-07-30 | r600: warning fixes | Alex Deucher | |
2009-07-28 | r600: fix flat shading | Alex Deucher | |
Set the flat shading bit on the appropriate PS input depending on the type of attribute it is. The VS output and PS input routing should probably be made more dynamic at some point. We may want to use semantic ids to make it easier. | |||
2009-07-27 | r600: set VGT NUM_INSTANCES as part of the draw command | Alex Deucher | |
set VGT NUM_INSTANCES as part of the draw command rather than as state as recommended by the pm4 guide. Also, use the NUM_INSTANCES packet. | |||
2009-07-27 | r600: switch vtx resource setup to use SETfield macros | Alex Deucher | |
For consistency | |||
2009-07-21 | r600: add alpha test support | Alex Deucher | |
2009-07-20 | r600: add user clip plane support | Alex Deucher | |
2009-07-17 | R6xx/R7xx: add fine grained syncing support | Alex Deucher | |
2009-07-17 | R6xx/r7xx: send depth state in it's own function | Alex Deucher | |
2009-07-17 | R6xx/r7xx: add some missing state regs | Alex Deucher | |
2009-07-16 | R6xx: fix rendering on r6xx/rs780 chips | Alex Deucher | |
You always need to emit a fetch shader (fs) even if you aren't using it. For now, just emit the fs with the vs address to make the kernel happy. | |||
2009-07-16 | Restore vp input mapping, fix vtx stream missing problem. | Richard Li | |
2009-07-15 | R6xx/r7xx: warning fixes | Kevin DeKorte | |
2009-07-15 | R6xx/r7xx: fix missing vertex stream | Richard Li | |
Somehow context->radeon.tcl.aos[j].bo is not null sometimes, but it is safe for now because it is only a pointer to dma.current so overwriting it would not hurt anything. | |||
2009-07-14 | r6xx/r7xx: fix buffer aging bug | Alex Deucher | |
We were using sparse indexing for aos, while the common code expected packed indexing. | |||
2009-07-06 | R6xx/r7xx: first pass at texture support | Alex Deucher | |
texture bo setup isn't quite working yet | |||
2009-07-01 | r6xx/r7xx: rework aos setup | Alex Deucher | |
In theory this should fix the stride = 0 case, but I can't seem to reproduce that anymore with mesa master. | |||
2009-06-22 | add LINK_STATES for SPI_PS and SEMANTIC | Cooper Yuan | |