mesa-drm/intel
Ben Widawsky 971c080ac0 intel: wait render timeout implementation
int drm_intel_gem_bo_wait(drm_intel_bo *bo, uint64_t timeout_ns)

This should bump the libdrm version. We're waiting for context support
so we can do both features in one bump.

v2: don't return remaining timeout amount
use get param and fallback for older kernels

v3: only doing getparam at init
prototypes now have a signed input value

v4: update comments
fall back to correct polling behavior with new userspace and old kernel

v5: since the drmIoctl patch was not well received, return appropriate
values in this function instead. As Daniel pointed out, the polling
case (timeout == 0) should also return -ETIME.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-06-27 09:00:58 -07:00
..
tests intel: Add per-dword decode of gen7 3DPRIMITIVE. 2012-03-10 09:23:07 -08:00
.gitignore intel: Add a regression test program for intel_decode.c. 2012-01-04 14:49:44 -08:00
intel_aub.h intel: Add .aub file output support. 2012-03-09 16:34:14 -08: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: wait render timeout implementation 2012-06-27 09:00:58 -07: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: wait render timeout implementation 2012-06-27 09:00:58 -07:00
intel_bufmgr_priv.h intel: Export CONSTANT_BUFFER addressing mode 2010-12-19 13:01:15 +00:00
intel_chipset.h intel: add Ivy Bridge GT2 server variant 2012-04-01 11:03:36 -03:00
intel_debug.h intel: shared header for shader debugging 2011-08-01 14:44:58 -07:00
intel_decode.c intel: Add IVB PUSH_CONSTANT decodes 2012-06-24 18:11:48 -07:00
libdrm_intel.pc.in intel: Install the header file in the libdrm/ directory. 2010-03-17 12:49:10 -07:00
Makefile.am intel: Add .aub file output support. 2012-03-09 16:34:14 -08: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: Add regression tests for batch decode. 2012-01-04 14:49:44 -08:00