[PATCH] intel: Track whether a buffer is idle to avoid trips to the kernel.

2014-01-20 Thread Paul Menzel
Dear Eric, thank you for the patch. I noticed one typo. Am Mittwoch, den 15.01.2014, 00:38 -0800 schrieb Eric Anholt: > I've seen a number of apps spending unreasonable amounts of time in > drm_intel_bo_busy during the buffer mapping process. > > We can't track idleness in general, in the case

[PATCH] intel: Track whether a buffer is idle to avoid trips to the kernel.

2014-01-20 Thread Kenneth Graunke
On 01/15/2014 12:38 AM, Eric Anholt wrote: > I've seen a number of apps spending unreasonable amounts of time in > drm_intel_bo_busy during the buffer mapping process. > > We can't track idleness in general, in the case of buffers shared > across processes. But this should significantly reduce ou

[PATCH] intel: Track whether a buffer is idle to avoid trips to the kernel.

2014-01-15 Thread Eric Anholt
I've seen a number of apps spending unreasonable amounts of time in drm_intel_bo_busy during the buffer mapping process. We can't track idleness in general, in the case of buffers shared across processes. But this should significantly reduce our overhead for checking for busy on things like VBOs.