Also submit any pending flush for *this* batch in the BlockHander.
We still need to submit an additional flush if we have further writes since the last flush. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
c4d2005177
commit
bebd64d821
|
|
@ -868,7 +868,9 @@ I830BlockHandler(int i, pointer blockData, pointer pTimeout, pointer pReadmask)
|
|||
* rendering results may not hit the framebuffer until significantly
|
||||
* later.
|
||||
*/
|
||||
intel_batch_submit(scrn, intel->need_mi_flush);
|
||||
intel_batch_submit(scrn,
|
||||
intel->need_mi_flush ||
|
||||
!list_is_empty(intel->flush_pixmaps));
|
||||
drmCommandNone(intel->drmSubFD, DRM_I915_GEM_THROTTLE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue