Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600: always emit CB base | Alex Deucher | 2009-08-23 | 1 | -1/+7 |
| | | | | | | | Not doing so seems to cause lock-ups or rendering problems on some chips. I think there is an logic issue related to CB and VGT on some chips. We ran into similar issues in r600_demo IIRC. | ||||
* | radeon: Fix compilation with legacy memory manager. | Pauli Nieminen | 2009-08-23 | 1 | -1/+1 |
| | |||||
* | radeon: Check from kernel if dma buffer is idle. | Pauli Nieminen | 2009-08-23 | 3 | -1/+33 |
| | | | | | | This makes sure that objects are leaving wait list only when they are processed by gpu. Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | r600: make state emit more fine grained | Alex Deucher | 2009-08-22 | 4 | -106/+230 |
| | | | | | Gives a nice speed boost in most apps since we only emit what state we need. | ||||
* | r600: move full state to radeon state atoms | Alex Deucher | 2009-08-22 | 9 | -192/+262 |
| | |||||
* | r600: add support for RS880 | Alex Deucher | 2009-08-22 | 5 | -0/+19 |
| | |||||
* | i965: Implement frag prog DPH like DP4 | Ian Romanick | 2009-08-22 | 1 | -3/+5 |
| | | | | | DPH can output to any component, not just to X. This allows fpalu.c to run without hitting the assertion in emit_dph. | ||||
* | Fix r300 VBO support build on big endian. | Michel Dänzer | 2009-08-22 | 1 | -3/+3 |
| | |||||
* | r600: better default state size. | Alex Deucher | 2009-08-21 | 3 | -9/+15 |
| | | | | | Hopefully suokko's emit size impovements will land soon. | ||||
* | radeon: fix incorrect loop limit (warned by -O3) | Brian Paul | 2009-08-21 | 1 | -1/+1 |
| | |||||
* | radeon: Add comment to explain logic for freeing dma buffers. | Pauli Nieminen | 2009-08-21 | 1 | -0/+3 |
| | |||||
* | r600: convert to using common radeon state atoms | Alex Deucher | 2009-08-20 | 8 | -233/+154 |
| | | | | | | switches more state handling to common code. We need should be more fine grained with the state atoms eventually. | ||||
* | r600: improve state emission | Alex Deucher | 2009-08-20 | 6 | -30/+182 |
| | | | | | Slowing migrating to atom based system like the other radeon drivers. | ||||
* | r600: split state emit into block specific functions | Alex Deucher | 2009-08-20 | 6 | -320/+379 |
| | | | | | We probably want to go finer grained eventually, but this is a good start. | ||||
* | r600: try and get everything in the draw in one IB | Alex Deucher | 2009-08-20 | 1 | -3/+10 |
| | | | | | fixes corruption issues with apps like teapot and geartrain. | ||||
* | r600: move misc regs from general state | Alex Deucher | 2009-08-20 | 1 | -7/+9 |
| | | | | | These regs don't use the SET_CONTEXT_REG packet, so they weren't getting set correctly. | ||||
* | r600: rework emit code | Alex Deucher | 2009-08-20 | 4 | -37/+44 |
| | | | | make sure we allocate enough space for relocs | ||||
* | radeon: Update regulary cs processing info from kernel. | Pauli Nieminen | 2009-08-20 | 3 | -6/+12 |
| | | | | | | This fixes problem that dma buffers were leaking in dri1 mode. Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | radeon: fix typo in last dma patch | Alex Deucher | 2009-08-19 | 1 | -1/+1 |
| | |||||
* | intel: Fix failure to commit -a --amend before last push. | Eric Anholt | 2009-08-19 | 1 | -1/+1 |
| | |||||
* | intel: Align cubemap texture height to its padding requirements. | Eric Anholt | 2009-08-19 | 1 | -0/+10 |
| | |||||
* | intel: Align untiled region height to 2 according to 965 docs. | Eric Anholt | 2009-08-19 | 1 | -0/+10 |
| | | | | | This may or may not be required pre-965, but it doesn't seem unlikely, and I'd rather be safe. | ||||
* | radeon: Add debug output for dma buffer object numbers. | Pauli Nieminen | 2009-08-19 | 1 | -3/+18 |
| | | | | Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | radeon: Fix dma buffer object pool to scale object sizes. | Pauli Nieminen | 2009-08-19 | 2 | -11/+42 |
| | | | | | | This fixes problems when application is using large vertex arrays for drawing. Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | r600: minor cleanup | Alex Deucher | 2009-08-19 | 1 | -2/+1 |
| | |||||
* | radeon: balance dma buffer mapping | Pauli Nieminen | 2009-08-18 | 1 | -0/+4 |
| | | | | | In radeonRefillCurrentDmaRegion() make sure we unmap the previous buffer. | ||||
* | r300: Movde debug output from stdout to stderr in copiler. | Pauli Nieminen | 2009-08-18 | 1 | -8/+8 |
| | | | | Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | r200: make use of DMA buffers for Elts a lot better. | Dave Airlie | 2009-08-18 | 3 | -11/+18 |
| | | | | | | | This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop. Cherry picked and ported to new code by Pauli. | ||||
* | r200: Fix missing offset from elt buffer pointer. | Pauli Nieminen | 2009-08-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | radeon: Optimize memory handling for dma operations. | Pauli Nieminen | 2009-08-18 | 16 | -93/+163 |
| | | | | | | | | | | We keep dma buffer objects in list untill they have been unused for many draw operations. Current limit of having 100 flushes is just guess for good performance/memory trade off. Moving WARN_ONCE macro to common context because it is used in multiple drivers. Signed-off-by: Pauli Nieminen <[email protected]> | ||||
* | r300: fix the build on big endian | Alex Deucher | 2009-08-18 | 1 | -1/+1 |
| | |||||
* | r600: fix build | Dave Airlie | 2009-08-18 | 3 | -1/+4 |
| | |||||
* | r300: remove warning introduced with OQ | Dave Airlie | 2009-08-18 | 1 | -1/+0 |
| | |||||
* | radeon/r200: fix build after OQ commits | Dave Airlie | 2009-08-18 | 5 | -3/+7 |
| | |||||
* | r300: OQ rework | Dave Airlie | 2009-08-18 | 16 | -299/+381 |
| | | | | | | | | | | | | Move to common code base so radeon/r200 can add support for this. Make OQ start a state emitted like all normal state, and make no-tcl flushing work in proper places. Really need a generic post emit space reservation mechanism like max_state so we can reserve some space for the emit this code passes demos/arbocclude, piglit occlusion query and glean occlusion query with TCL and NO-TCL on my rv530. | ||||
* | r300: fix missing BEGIN/END batches | Dave Airlie | 2009-08-18 | 1 | -0/+2 |
| | |||||
* | r300: fix big endian build | Dave Airlie | 2009-08-18 | 1 | -0/+1 |
| | |||||
* | r600: fix counting error after the last commit | Alex Deucher | 2009-08-17 | 1 | -1/+1 |
| | |||||
* | r600: make sure the number of indices is valid | Alex Deucher | 2009-08-17 | 1 | -1/+54 |
| | | | | | | make sure the number of indices is valid for the requested prim type. glxgears sends invalid quad strips with only 2 indices for example. | ||||
* | radeon: remove RADEON_DEBUG_BO stuff | Alex Deucher | 2009-08-17 | 10 | -237/+16 |
| | | | | | This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build. | ||||
* | r300: split vbo rendering with big drawarray case | Jerome Glisse | 2009-08-17 | 1 | -4/+15 |
| | | | | | Split vbo rendering when the number of elements requested by drawarrays is bigger than 65536. | ||||
* | radeon: turn off bo debugging | Dave Airlie | 2009-08-17 | 1 | -1/+1 |
| | |||||
* | r300: disable ZTOP only when occlusion queries are used | Maciej Cencora | 2009-08-16 | 1 | -1/+3 |
| | |||||
* | r300: enable ARB_occlusion_query | Maciej Cencora | 2009-08-15 | 1 | -0/+8 |
| | | | | | Supported only on HW with TCL block and with proper radeon drm. Required minimum radeon drm version is 1.30 or KMS. | ||||
* | radeon: add flag for drm OQ support | Maciej Cencora | 2009-08-15 | 2 | -5/+8 |
| | |||||
* | r300: temporary occlusion query hack | Maciej Cencora | 2009-08-15 | 1 | -1/+1 |
| | |||||
* | r300: clear not_flushed OQ list after flush | Maciej Cencora | 2009-08-15 | 3 | -4/+15 |
| | |||||
* | r300/oq: add some debugging info | Maciej Cencora | 2009-08-15 | 1 | -0/+21 |
| | |||||
* | r300: add occlusion queries support | Maciej Cencora | 2009-08-15 | 8 | -1/+308 |
| | | | | | | | TODO: - use proper interface for checking if bo is idle when it's available - disable ZTOP only when needed - make it work under KMS | ||||
* | radeon space: realign with drm space check code | Dave Airlie | 2009-08-15 | 1 | -1/+1 |
| |