summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
2009-08-31radeon: Add gcc attribute to enable pritnf format warnings.Pauli Nieminen
2009-08-31r100: 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-31radeon: 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-31r600: add missing r7xx pci idAlex Deucher
2009-08-29radeon: 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-28radeon: Fix scissors for dri1.Pauli Nieminen
DRI1 has to set scissors in framebuffer coordinates.
2009-08-28r100/r200: Bring back old PolygonStripple for DRI1.Pauli Nieminen
DRI1 didn't have support for command buffer emit for stripple.
2009-08-28r100/r200: Share PolygonStripple code.Pauli Nieminen
2009-08-28radeon: fix scissors harder.Dave Airlie
this makes gnome-shell work on r300 for me
2009-08-27radeon/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-27radeon: 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-27radeon: fix max indx/vertex emission due to state checkerDave Airlie
2009-08-27radeon: Fix loop en condition so debug output doesn't flood meaningless values.Pauli Nieminen
2009-08-27radeon: Make RADEON_CMDBUF more fine grained.Pauli Nieminen
2009-08-27radeon/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-26radeon/r100/r200: actually init the OQ support properlyDave Airlie
2009-08-26radeon: 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-26r200: 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-25radeon/r600: Fix remaining warnings when building 64 bit binary.Pauli Nieminen
2009-08-25radeon: Fix all compiler warnings.Pauli Nieminen
2009-08-25Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen
r600_state_predict
2009-08-25radeon/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-24r300: add support for getting Z pipe info from drmAlex Deucher
Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-08-25radeon: fix fbo size calculation to after pitchDave Airlie
2009-08-24radeon: Add debug output to radeonCountStateEmitSize.Pauli Nieminen
2009-08-24Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen
r600_state_predict
2009-08-24r300: add support for EXT_framebuffer_blitMaciej Cencora
2009-08-24radeon: Fix dri1 ctx emit size.Pauli Nieminen
2009-08-24Merge 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-23radeon: add radeon_cs_write_table to the legacy pathAlex Deucher
2009-08-23radeon: use proper macroMaciej Cencora
2009-08-23radeon: use bo_is_idle interface for checking if OQ result is availableMaciej Cencora
2009-08-23r300: minor optimizationMaciej Cencora
use properly implemented OUT_BATCH_TABLE where possible
2009-08-23radeon: Fix compilation with legacy memory manager.Pauli Nieminen
2009-08-23radeon: 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-22r600: add support for RS880Alex Deucher
2009-08-22radeon/r300: Code clean up and logic fix.Pauli Nieminen
2009-08-21radeon: protect against buffer overflow in state atom debug code.Pauli Nieminen
2009-08-21radeon: Improve state emit code.Pauli Nieminen
Trying to make understanding code easier with small refactoring and renaming.
2009-08-21radeon: fix incorrect loop limit (warned by -O3)Brian Paul
2009-08-21r300: 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-21r300: 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-21radeon: 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-21r200: 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-21r200: 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-21r200: 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-21radeon/r200: Add -Wall to default build flags like it is in r300/r600Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-21radeon: Add comment to explain logic for freeing dma buffers.Pauli Nieminen
2009-08-20r600: convert to using common radeon state atomsAlex Deucher
switches more state handling to common code. We need should be more fine grained with the state atoms eventually.
2009-08-20r600: split state emit into block specific functionsAlex Deucher
We probably want to go finer grained eventually, but this is a good start.