Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-31 | radeon: Make OQ to use new style debugging. | Pauli Nieminen | |
2009-08-31 | radeon: Add gcc attribute to enable pritnf format warnings. | Pauli Nieminen | |
2009-08-31 | r100: Use shared debug code. | Pauli Nieminen | |
Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly. | |||
2009-08-31 | radeon: Add common debugging functions. | Pauli Nieminen | |
These function are aiming to make it very simple to add and keep large amount of debugging code without having runtime impact in relase builds. Basic idea is to expose simple printf style debugging functions that are inlined. Level parameter will be evalueted in compile time so compiler can optimise some of debugging functions out if compile time request for debug level is too tight. | |||
2009-08-31 | r600: add missing r7xx pci id | Alex Deucher | |
2009-08-29 | radeon: Fix swtcl emit pediction. | Pauli Nieminen | |
Problem was to find the correct place to run prediction. Only place that is called for every primitive is ALLOC_VERTS so we have to do prediction there before allocation. | |||
2009-08-28 | radeon: Fix scissors for dri1. | Pauli Nieminen | |
DRI1 has to set scissors in framebuffer coordinates. | |||
2009-08-28 | r100/r200: Bring back old PolygonStripple for DRI1. | Pauli Nieminen | |
DRI1 didn't have support for command buffer emit for stripple. | |||
2009-08-28 | r100/r200: Share PolygonStripple code. | Pauli Nieminen | |
2009-08-28 | radeon: fix scissors harder. | Dave Airlie | |
this makes gnome-shell work on r300 for me | |||
2009-08-27 | radeon/r200/r300: Fix swtcl prediction to work after primitie change. | Pauli Nieminen | |
Swtcl calls flush everytime primitive changes so prediction has to made again after flushing. | |||
2009-08-27 | radeon: fix scissor calcs. | Dave Airlie | |
For non-FBOs we need to invert, for FBOs the scissors are non-inverted. no matter what we need to clamp them to the buffer sizes. | |||
2009-08-27 | radeon: fix max indx/vertex emission due to state checker | Dave Airlie | |
2009-08-27 | radeon: Fix loop en condition so debug output doesn't flood meaningless values. | Pauli Nieminen | |
2009-08-27 | radeon: Make RADEON_CMDBUF more fine grained. | Pauli Nieminen | |
2009-08-27 | radeon/r200/r300: Fix swtcl flushing not to invalidate dma region. | Pauli Nieminen | |
We were check command buffer sizes too alte so allocated dma regions were freed before relocations so space checking failed. | |||
2009-08-26 | radeon/r100/r200: actually init the OQ support properly | Dave Airlie | |
2009-08-26 | radeon: add r100 OQ support with kms. | Dave Airlie | |
This adds OQ support for the r100 chipsets, it requires KMS unless someone wants to make a kernel patch to add support for OQ regs. | |||
2009-08-26 | r200: Add scissor to state atom list. | Pauli Nieminen | |
Scissors are jsut one of states that we have to emit so it should be in state list | |||
2009-08-25 | radeon/r600: Fix remaining warnings when building 64 bit binary. | Pauli Nieminen | |
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. |