diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-10-14 11:29:21 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-10-14 11:53:20 +0100 |
commit | 3c0815abf28744e215bea286e71d935cd486955a (patch) | |
tree | 14df4b6a111ff77e3b7af815a0883cafb00d8178 /src/i915_video.c | |
parent | 2f134b84445d2d0bfe3d81276bc7f6648df062ee (diff) |
conf: Add debugging flush options
Make the following options available via xorg.conf:
Section "Driver"
Option "DebugFlushBatches" "1" # Flush the batch buffer after every
# single operation;
Option "DebugFlushCaches" "1" # Include a MI_FLUSH at the end of every
# batch buffer to force data to be
# flushed out of cache and into memory
# before the completion of the batch.
Option "DebugWait" "1" # Wait for the completion of every batch buffer
# before continuing, i.e. perform synchronous
# rendering.
EndSection
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i915_video.c')
-rw-r--r-- | src/i915_video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i915_video.c b/src/i915_video.c index 34ad8f97..e54bd9b4 100644 --- a/src/i915_video.c +++ b/src/i915_video.c @@ -460,4 +460,6 @@ I915DisplayVideoTextured(ScrnInfoPtr scrn, intel_batch_end_atomic(scrn); } + + i830_debug_flush(scrn); } |