r300: Predict emit size for next rendering operation.
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>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "radeon_bocs_wrapper.h"
|
||||
|
||||
void rcommonEnsureCmdBufSpace(radeonContextPtr rmesa, int dwords, const char *caller);
|
||||
int rcommonEnsureCmdBufSpace(radeonContextPtr rmesa, int dwords, const char *caller);
|
||||
int rcommonFlushCmdBuf(radeonContextPtr rmesa, const char *caller);
|
||||
int rcommonFlushCmdBufLocked(radeonContextPtr rmesa, const char *caller);
|
||||
void rcommonInitCmdBuf(radeonContextPtr rmesa);
|
||||
|
Reference in New Issue
Block a user