summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-24r600: Improve emit prediction.Pauli Nieminen
2009-08-24r600: Predict emit size for next rendering.Pauli Nieminen
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-23r600: bump reloc_chunk sizeAlex Deucher
This fixes openarena reloc errors. This needs to be made more dynamic.
2009-08-23r600: fix count for CB/DB target stateAlex Deucher
2009-08-23r300: fix a typoMaciej Cencora
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-23ARB prog lexer: Fix lexer to eat both DOS and Unix line endingsIan Romanick
2009-08-23r600: use persistent bos for shadersAlex Deucher
2009-08-23r600: always emit CB baseAlex Deucher
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.
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: make state emit more fine grainedAlex Deucher
Gives a nice speed boost in most apps since we only emit what state we need.
2009-08-22shader: fix compilation warningsRenato Caldas
This patch fixes some "implicit declaration of function" compilation errors/warnings on the new shader code. Signed-off-by: Renato Caldas <seventhguardian@gmail.com>
2009-08-22ARB prog parser: include imports.h to kill some compiler warningsLuo Jinghua
2009-08-22r600: move full state to radeon state atomsAlex Deucher
2009-08-22r600: add support for RS880Alex Deucher
2009-08-22i965: Implement frag prog DPH like DP4Ian Romanick
DPH can output to any component, not just to X. This allows fpalu.c to run without hitting the assertion in emit_dph.
2009-08-22r300: Fix debug output.Pauli Nieminen
2009-08-22st/dri: Remove some debug printsJakob Bornecrantz
2009-08-22st/dri: Find out if the drawable is a pixmapJakob Bornecrantz
Part of this code is disabled since no performance gains where detected with it enabled. This code only detects if it is a pixmap that it is rendering to on the st/xorg DDX since it sets the fake front to the same handle as front.
2009-08-22st/dri: Fix frontbuffer rendering with DRI2Jakob Bornecrantz
2009-08-22st/xorg: Handle fake fronts correctly for pixmapsJakob Bornecrantz
2009-08-22i915g: Remove bad assert on fenceJakob Bornecrantz
2009-08-22r300: Fix dri1 not to emit state that is not supported in old drm.Pauli Nieminen
2009-08-22radeon/r300: Code clean up and logic fix.Pauli Nieminen
2009-08-22glx/dri2: Always use X drawable ID for DRI2 protocol.Michel Dänzer
Fixes protocol errors in cases where the GLX ID is different.
2009-08-22Fix r300 VBO support build on big endian.Michel Dänzer
2009-08-21r600: better default state size.Alex Deucher
Hopefully suokko's emit size impovements will land soon.
2009-08-21r300: Remove calls to rcommonEnsureCmdBufSpace.Pauli Nieminen
All rendering is checked in r300PredictTryDrawPrimsSize which mamde these calls useless.
2009-08-21radeon: protect against buffer overflow in state atom debug code.Pauli Nieminen
2009-08-21Merge branch 'asm-shader-rework-1'Ian Romanick
2009-08-21radeon: Improve state emit code.Pauli Nieminen
Trying to make understanding code easier with small refactoring and renaming.
2009-08-21r300: Add debug output to show how much was emited in TryDrawPrims.Pauli Nieminen
2009-08-21radeon: fix incorrect loop limit (warned by -O3)Brian Paul
2009-08-21glx: initialize some local vars to silence warnings with -O3Brian 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: Handle possible fall back if space check fails.Pauli Nieminen
2009-08-21r300: Delay allocation of dma regions in TryDrawprims.Pauli Nieminen
This makes it easier to predict size of next rendering operation so we can do early flush.
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: Make swtcl use state size prediction for flush.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-21r200: Remove unnecessery Elts from r200 context.Pauli Nieminen
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>