mesa-drm/intel
Keith Packard c3d96897de intel: Track known prime buffers for re-use
If the application sends us a file descriptor pointing at a prime
buffer that we've already got, we have to re-use the same bo_gem
structure or chaos will result.

Track the set of all known prime objects and look to see if the kernel
has returned one of those for a new file descriptor.

Also checks for prime buffers in the flink case.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-26 21:45:40 -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
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 known prime buffers for re-use 2013-11-26 21:45:40 -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
Makefile.am intel: fix build error 2012-07-20 10:28:46 -05: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: Fix build failure in test_decode.c 2012-07-03 09:54:41 -07:00