svga/drm: Flushing preemptively on a 1/3 of the aperture.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 3 Feb 2011 15:06:39 +0000 (15:06 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 3 Feb 2011 15:15:23 +0000 (15:15 +0000)
commit637ed52f597098ac556b27a4403056bd54343426
tree2fac9cb18a8fe7a3589253f99f3ce39e22b109aa
parentb6b6b8f8bb56c2e010b9e126797b4e54c6875eb3
svga/drm: Flushing preemptively on a 1/3 of the aperture.

Exactly one half would be the ideal, but this is a soft limit, and one
more byte over brings us to synchronous behavior.

Flushing when the referred GMR exceeds one third of the aperture gives us
statistically better performance.
src/gallium/winsys/svga/drm/vmw_context.c