Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-25 | radeon: Fix all compiler warnings. | Pauli Nieminen | |
2009-08-25 | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | |
r600_state_predict | |||
2009-08-25 | radeon/r200/r300/r600: Warn if we emit more than prediction was. | Pauli Nieminen | |
Prediction code making too small prediction may cause space check aserttion failure later in rendering. So warning about any failure to predict correctly should be fixed. | |||
2009-08-24 | r300: add support for getting Z pipe info from drm | Alex Deucher | |
Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2009-08-25 | radeon: fix fbo size calculation to after pitch | Dave Airlie | |
2009-08-24 | radeon: Add debug output to radeonCountStateEmitSize. | Pauli Nieminen | |
2009-08-24 | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | |
r600_state_predict | |||
2009-08-24 | r300: add support for EXT_framebuffer_blit | Maciej Cencora | |
2009-08-24 | radeon: Fix dri1 ctx emit size. | Pauli Nieminen | |
2009-08-24 | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵ | Pauli Nieminen | |
r600_state_predict Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/radeon/radeon_cmdbuf.h | |||
2009-08-23 | radeon: add radeon_cs_write_table to the legacy path | Alex Deucher | |
2009-08-23 | radeon: use proper macro | Maciej Cencora | |
2009-08-23 | radeon: use bo_is_idle interface for checking if OQ result is available | Maciej Cencora | |
2009-08-23 | r300: minor optimization | Maciej Cencora | |
use properly implemented OUT_BATCH_TABLE where possible | |||
2009-08-23 | radeon: Fix compilation with legacy memory manager. | Pauli Nieminen | |
2009-08-23 | radeon: Check from kernel if dma buffer is idle. | Pauli Nieminen | |
This makes sure that objects are leaving wait list only when they are processed by gpu. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-22 | r600: add support for RS880 | Alex Deucher | |
2009-08-22 | radeon/r300: Code clean up and logic fix. | Pauli Nieminen | |
2009-08-21 | radeon: protect against buffer overflow in state atom debug code. | Pauli Nieminen | |
2009-08-21 | radeon: Improve state emit code. | Pauli Nieminen | |
Trying to make understanding code easier with small refactoring and renaming. | |||
2009-08-21 | radeon: fix incorrect loop limit (warned by -O3) | Brian Paul | |
2009-08-21 | r300: Predict emit size for next rendering operation. | Pauli Nieminen | |
We do flush for cmd buffer in case there isn't enough space left for whole rendering operation. This protects dma regions from getting released in middle of state emit. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-21 | r300: Clean emit code. | Pauli Nieminen | |
This fixes some state atom check functions from returing wrong emit size. There is emit code cleanup so that emit function selection is done in init time instead of runtime. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-21 | radeon: Port flush preventation code from r200 to r100. | Pauli Nieminen | |
- emit prediction - fixes to emit_sizes for data - clean up of excesive use of radeonEnsureCmdBufferSpace Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-21 | r200: Remove unnecessary calls to rcommonEnsureCmdBufSpace. | Pauli Nieminen | |
Calling EnsureCmdBufSpace is not required because rendering pipeline has to quarentee free space. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-21 | r200: Fix atom->check call to return emit size for atom. | Pauli Nieminen | |
This patch makes render emit size prediction count the corect maximum emit size for state. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-21 | r200: Prevent flush in middle of rendering. | Pauli Nieminen | |
Patch adds prediction functionthat tries to predict emit size to the smallest possible values that is quarenteed to be higher than worst case scenario in rendering pipeline. State emit size prediction code is in place but fix for emit sizes is included in next patch. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-21 | radeon/r200: Add -Wall to default build flags like it is in r300/r600 | Pauli Nieminen | |
Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-21 | radeon: Add comment to explain logic for freeing dma buffers. | Pauli Nieminen | |
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: 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 | radeon: Update regulary cs processing info from kernel. | Pauli Nieminen | |
This fixes problem that dma buffers were leaking in dri1 mode. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-19 | radeon: fix typo in last dma patch | Alex Deucher | |
2009-08-19 | radeon: Add debug output for dma buffer object numbers. | Pauli Nieminen | |
Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-19 | radeon: Fix dma buffer object pool to scale object sizes. | Pauli Nieminen | |
This fixes problems when application is using large vertex arrays for drawing. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> | |||
2009-08-18 | radeon: balance dma buffer mapping | Pauli Nieminen | |
In radeonRefillCurrentDmaRegion() make sure we unmap the previous buffer. | |||
2009-08-18 | r200: make use of DMA buffers for Elts a lot better. | Dave Airlie | |
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. | |||
2009-08-18 | radeon: Optimize memory handling for dma operations. | Pauli Nieminen | |
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 <suokkos@gmail.com> | |||
2009-08-18 | radeon/r200: fix build after OQ commits | Dave Airlie | |
2009-08-18 | r300: OQ rework | Dave Airlie | |
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. | |||
2009-08-17 | radeon: remove RADEON_DEBUG_BO stuff | Alex Deucher | |
This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build. | |||
2009-08-17 | radeon: turn off bo debugging | Dave Airlie | |
2009-08-15 | radeon: add flag for drm OQ support | Maciej Cencora | |
2009-08-15 | r300: clear not_flushed OQ list after flush | Maciej Cencora | |
2009-08-15 | radeon space: realign with drm space check code | Dave Airlie | |
2009-08-15 | Merge branch 'vbo_clean' | Maciej Cencora | |
Conflicts: src/mesa/drivers/dri/r300/r300_draw.c | |||
2009-08-14 | radeon: handle debug versions of radeon_bo_open | Maciej Cencora | |
2009-08-14 | radeon: add VBO support (not enabled yet) | Maciej Cencora | |
2009-08-14 | radeon: export emitvec* functions | Maciej Cencora | |
2009-08-14 | radeon: constify some parameters | Maciej Cencora | |