diff options
author | Eric Anholt <eric@anholt.net> | 2009-03-05 17:08:36 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-03-05 19:42:17 -0800 |
commit | f3687284c12f34268172b9c60e2effd697162129 (patch) | |
tree | b5bb7027a8fe30254c973152eaf3eb68fd9b59ed /src/mesa/drivers/dri/intel/intel_batchbuffer.c | |
parent | 98826950529041a022f736d183b52421eedead31 (diff) |
intel: Add always_flush_cache driconf option for debugging cache flush failure.
I keep wanting to hack this knob in as a one-time thing, so it seemed useful
to have all the time.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_batchbuffer.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_batchbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c index 9d9937289a..29dc05c518 100644 --- a/src/mesa/drivers/dri/intel/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.c @@ -207,7 +207,7 @@ _intel_batchbuffer_flush(struct intel_batchbuffer *batch, const char *file, used); /* Emit a flush if the bufmgr doesn't do it for us. */ - if (!intel->ttm) { + if (intel->always_flush_cache || !intel->ttm) { *(GLuint *) (batch->ptr) = intel->vtbl.flush_cmd(); batch->ptr += 4; used = batch->ptr - batch->map; |