diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-04 09:02:36 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-04 09:08:43 +0000 |
commit | 415aab474edd1425034981306718afd8506445f1 (patch) | |
tree | 6b1d8f6a7d4b8b7a06cdbf499b6ce38e6f30256e | |
parent | 8438372dcc9d15c7b708332cfcb3a1c16a2c5cf2 (diff) |
intel: And remember to flush the batch...
In commit 98e11210
Remove flush parameter from intel_batch_flush()
Maxi spotted that I had broken screen updating. It appears in my haste
to eliminate the extra parameter I removed a call to intel_batch_flush()
when throttling, i.e. when pushing the updates to the screen before
idling.
Should fix:
Bug 25409 [bisected] rendering corruption since a938673e
https://bugs.freedesktop.org/show_bug.cgi?id=25409
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/i830_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 21fb2ba3..fbbc5855 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -999,6 +999,7 @@ I830BlockHandler(int i, pointer blockData, pointer pTimeout, pointer pReadmask) */ if (flush) intel_batch_pipelined_flush(scrn); + intel_batch_flush(scrn); drmCommandNone(intel->drmSubFD, DRM_I915_GEM_THROTTLE); intel->need_mi_flush = FALSE; |