Revert "sna: Flush the batch before a render operation if the GPU is idle"

This reverts commit ad57ac07a2.

These checks end up being too frequent and not allowing us to batch
sufficient commands to offset the overhead of batch submission. Hmm.
This commit is contained in:
Chris Wilson 2012-09-05 16:17:17 +01:00
parent 886f3cef41
commit 4627dc36fa
1 changed files with 0 additions and 3 deletions

View File

@ -3578,9 +3578,6 @@ bool kgem_check_bo(struct kgem *kgem, ...)
DBG(("%s: num_pages=+%d, num_exec=+%d\n",
__FUNCTION__, num_pages, num_exec));
if (kgem->nexec && kgem_is_idle(kgem))
return false;
if (!num_pages)
return true;