drm/intel
Eric Anholt 02f93c21e6 intel: Track whether a buffer is idle to avoid trips to the kernel.
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.

Improves (unoptimized) glamor x11perf -f8text by 0.243334% +/-
0.161498% (n=1549), which has formerly been spending about .5% of its
time hitting the kernel for drm_intel_gem_bo_busy().

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2014-01-20 10:58:13 -08:00
..
tests intel-decode: Fix gen6 HIER_DEPTH_BUFFER decoding 2013-04-04 09:59:20 +02:00
.gitignore intel: Add a regression test program for intel_decode.c. 2012-01-04 14:49:44 -08:00
Makefile.am intel: fix build error 2012-07-20 10:28:46 -05:00
intel_aub.h intel/aub: Sync the AUB defines with mesa's 2013-06-10 17:51:17 +01:00
intel_bufmgr.c intel: fix the wrong method check for bo_get_subdata 2011-07-20 10:46:45 -07:00
intel_bufmgr.h intel: Add support for GPU reset status query ioctl 2013-11-15 11:31:49 -08:00
intel_bufmgr_fake.c intel: Shove the fake bufmgr subdata implementation into the fake bufmgr. 2010-11-01 06:54:58 -07:00
intel_bufmgr_gem.c intel: Track whether a buffer is idle to avoid trips to the kernel. 2014-01-20 10:58:13 -08:00
intel_bufmgr_priv.h intel/context: Add drm_intel_context type 2012-06-27 09:57:16 -07:00
intel_chipset.h intel/bdw: Add broadwell chipset IDs 2013-11-07 17:07:25 -08:00
intel_debug.h intel: shared header for shader debugging 2011-08-01 14:44:58 -07:00
intel_decode.c intel/bdw: Add gen8 to the decode init 2013-11-07 17:09:07 -08:00
libdrm_intel.pc.in intel: Update package name and description in libdrm_intel.pc 2013-08-30 12:10:50 -04:00
mm.c Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
mm.h Move libdrm/ up one level 2009-11-17 11:15:06 -05:00
test_decode.c intel/test_decode: Allow gen8 to be infered from the batch filenames 2013-12-13 18:18:53 +00:00