Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: remove useless code | Marek Olšák | 2011-10-28 | 1 | -9/+0 |
| | |||||
* | r300g: expose ARB_ES2_compatibility by claiming FIXED format support | Marek Olšák | 2011-10-24 | 1 | -0/+1 |
| | |||||
* | u_vbuf_mgr: s/u_vbuf_mgr_/u_vbuf_ | Marek Olšák | 2011-09-26 | 1 | -2/+2 |
| | |||||
* | r600g: set the flush callback in radeon_winsys | Marek Olšák | 2011-08-16 | 1 | -1/+1 |
| | | | | | | I have also renamed the winsys function. Reviewed-by: Alex Deucher <[email protected]> | ||||
* | winsys/radeon: add R300 infix to winsys feature names | Marek Olšák | 2011-07-25 | 1 | -1/+1 |
| | |||||
* | winsys/radeon: simplify how value queries work | Marek Olšák | 2011-07-25 | 1 | -10/+10 |
| | | | | | This drops the get_value query and adds a function query_info, which returns all the values in one nice structure. | ||||
* | [g3dvl] and finally remove pipe_video_context | Christian König | 2011-07-08 | 1 | -0/+2 |
| | |||||
* | [g3dvl] move video buffer creation out of video context | Christian König | 2011-07-08 | 1 | -0/+3 |
| | |||||
* | Revert "Merge remote-tracking branch 'mareko/r300g-draw-instanced' into ↵ | Christian König | 2011-06-04 | 1 | -26/+0 |
| | | | | | | | pipe-video" This reverts commit 10370b752cd793665feec9494e6545a3f04c69f9, reversing changes made to ded2a9a628c58c2c8bfaaf6b8dd213e68de1dd20. | ||||
* | Merge remote-tracking branch 'mareko/r300g-draw-instanced' into pipe-video | Christian König | 2011-06-03 | 1 | -0/+26 |
|\ | |||||
| * | r300g: implement draw_instanced for HWTCL | Marek Olšák | 2011-04-25 | 1 | -0/+26 |
| | | |||||
* | | r300g: dynamically ask for and release Hyper-Z access | Marek Olšák | 2011-05-15 | 1 | -13/+13 |
|/ | | | | | We ask for Hyper-Z access when clearing a zbuffer. We release it if no zbuffer clear has been done for 2 seconds. | ||||
* | r300g/winsys: rename r300->radeon and do a little cleanup | Marek Olšák | 2011-04-18 | 1 | -16/+15 |
| | | | | | Renaming a few files, types, and functions. Also make the winsys independent of r300g. | ||||
* | r300g: decide whether a flush should be asynchronous when calling it | Marek Olšák | 2011-03-08 | 1 | -3/+3 |
| | | | | Thread offloading is not sometimes desirable, e.g. when mapping a buffer. | ||||
* | r300g: cleanup parameters of draw functions | Marek Olšák | 2011-03-05 | 1 | -3/+1 |
| | |||||
* | r300g: preliminary implementation of clamping controls | Marek Olšák | 2011-03-04 | 1 | -2/+1 |
| | |||||
* | r300g: implement FP16 alpha test | Marek Olšák | 2011-03-04 | 1 | -1/+1 |
| | |||||
* | r300g: require DRM 2.3.0 (kernel 2.6.34) | Marek Olšák | 2011-03-02 | 1 | -2/+1 |
| | | | | Running any older kernel is not recommended anyway. | ||||
* | r300g: initialize some r500 PS3 regs | Marek Olšák | 2011-03-01 | 1 | -3/+12 |
| | |||||
* | r300g: fix printing whether Z compression is enabled | Marek Olšák | 2011-03-01 | 1 | -1/+2 |
| | |||||
* | r300g: fix HiZ memory size computation and deciding when to use HiZ | Marek Olšák | 2011-03-01 | 1 | -12/+5 |
| | | | | | | | I removed the HiZ memory management, because the HiZ RAM is too small and I also did it in hope that HiZ will be enabled more often. This also sets aligned strides to HIZ_PITCH and ZMASK_PITCH. | ||||
* | r300g: initialize SC_SCREENDOOR | Marek Olšák | 2011-02-28 | 1 | -1/+2 |
| | |||||
* | r300g: fix missing initializers warning | Brian Paul | 2011-02-22 | 1 | -2/+4 |
| | |||||
* | r300g: fix a possible race when counting contexts | Marek Olšák | 2011-02-19 | 1 | -2/+4 |
| | | | | Atomics aren't sufficient here. | ||||
* | r300g: implement fences using dummy relocations | Marek Olšák | 2011-02-15 | 1 | -25/+0 |
| | | | | So finally we have them. | ||||
* | r300g: import the last bits of libdrm and cleanup the whole thing | Marek Olšák | 2011-02-11 | 1 | -4/+2 |
| | | | | | | | | | | | | | | Based on Dave's branch. The majority of this commit is a cleanup, mainly renaming things. There wasn't much code to import, just ioctl calls. Also done: - implemented unsynchronized bo_map (important optimization!) - radeon_bo_is_referenced_by_cs is no longer a refcount hack - dropped the libdrm_radeon dependency I'm surprised that this has resulted in less code in the end. | ||||
* | r300g: consolidate buffers and textures to r300_resource | Marek Olšák | 2011-02-10 | 1 | -2/+2 |
| | | | | Transfers and create/destroy are still handled separately. | ||||
* | r300g: simplify WRITE_RELOC API and cleanup | Marek Olšák | 2011-02-10 | 1 | -2/+2 |
| | |||||
* | r300g: use the same upload buffer for vertices and indices | Marek Olšák | 2011-02-08 | 1 | -11/+3 |
| | |||||
* | u_vbuf_mgr: add a way to specify the BIND flag for the upload buffer | Marek Olšák | 2011-02-08 | 1 | -0/+1 |
| | |||||
* | r300g: use the new vertex buffer manager | Marek Olšák | 2011-02-07 | 1 | -21/+7 |
| | |||||
* | r300g: rework vertex format fallback | Marek Olšák | 2011-01-30 | 1 | -2/+2 |
| | | | | | | 1) Only translate the [min_index, max_index] range. 2) Upload translated vertices via the uploader. 3) Rename valid_vertex_buffer[] to real_vertex_buffer[] | ||||
* | r300g: print driver info if RADEON_DEBUG=info | Marek Olšák | 2011-01-27 | 1 | -1/+26 |
| | |||||
* | r300g: fix some bugs with zbuffer compression (v4) | Marek Olšák | 2011-01-27 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This drops the memblock manager for ZMASK. Instead, only one zbuffer can be compressed at a time. Note that this does not necessarily have to be slower. When there is a large number of zbuffers, compression might be used more often than it was before. It's also easier to debug. How it works: 1) 'clear' turns the compression on. 2) If some other zbuffer is set or the currently-bound zbuffer is used for texturing, the driver decompresses it and then turns the compression off. Notes: - The ZMASK clear has been refactored, so that only one packet3 is used to clear ZMASK. - The 8x8 compression mode is disabled. I couldn't make it work without issues. - Also removed driver-specific stuff from u_blitter. Driver status: - RV530 and R580 appear to just work (finally). - RV570 should work, but there may be an issue that we don't correctly calculate the number of dwords to clear, resulting in a partially uninitialized zbuffer. - RS690 misrenders as if no ZMASK clear happened. No idea what's going on. - RV350 may even hardlock. This issue was already present and this patch doesn't fix it. I think we are still missing some hardware info we need to make the zbuffer compression work fully. Note that there is also an issue with HiZ, resulting in a sort of blocky zigzagged corruption around some objects. | ||||
* | Revert "r300g/swtcl: re-enable LLVM" | Jakob Bornecrantz | 2011-01-24 | 1 | -15/+1 |
| | | | | This reverts commit 88550083b3857184445075e70fed8b2eed4952a1. | ||||
* | r300g: derive user buffer sizes at draw time | Marek Olšák | 2011-01-07 | 1 | -0/+1 |
| | | | | | | | This only uploads the [min_index, max_index] range instead of [0, userbuf size], which greatly speeds up user buffer uploads. This is also a prerequisite for atomizing vertex arrays in st/mesa. | ||||
* | r300g: increase the size of upload buffers | Marek Olšák | 2010-12-25 | 1 | -2/+2 |
| | |||||
* | r300g/swtcl: re-enable LLVM | Marek Olšák | 2010-12-24 | 1 | -1/+15 |
| | | | | | | Based on a patch from Drill <[email protected]>. NOTE: This is a candidate for the 7.10 branch. | ||||
* | r300g: Remove unnecessary headers. | Vinson Lee | 2010-12-22 | 1 | -2/+0 |
| | |||||
* | r300g: optimize looping over atoms | Marek Olšák | 2010-12-05 | 1 | -21/+5 |
| | | | | This also removes DBG_STATS (the stats can be obtained with valgrind instead). | ||||
* | r300g: fix build | Marek Olšák | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | r300g: Drop unnecessary cast | nobled | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | r300g: Abort if draw_create() fails | nobled | 2010-12-03 | 1 | -0/+2 |
| | | | | The other drivers need to be updated to do this, too. | ||||
* | r300g: Abort if atom allocations fail | nobled | 2010-12-03 | 1 | -18/+28 |
| | |||||
* | util: rename u_mempool -> u_slab | Marek Olšák | 2010-11-30 | 1 | -8/+8 |
| | |||||
* | r300g: fix rendering with no vertex elements | Marek Olšák | 2010-11-20 | 1 | -0/+17 |
| | | | | | Fixes glsl-vs-point-size, although I meant to fix glsl-novertexdata. Since swrast fails glsl-novertexdata too, I guess it's a core issue. | ||||
* | r300g: rename has_hyperz -> can_hyperz | Marek Olšák | 2010-11-10 | 1 | -2/+2 |
| | |||||
* | r300g,u_blitter: use u_framebuffer | Marek Olšák | 2010-08-29 | 1 | -1/+1 |
| | | | | Removing another function duplication in u_blitter. | ||||
* | draw: specialized cliptesting routines | Keith Whitwell | 2010-08-25 | 1 | -2/+0 |
| | |||||
* | r300g: fix context destroy under hyperz | Dave Airlie | 2010-08-17 | 1 | -3/+3 |
| | | | | | | we were destroying the mm before unrefing all the objects, so segfault. Signed-off-by: Dave Airlie <[email protected]> |