mesa-drm/intel
Kristian Høgsberg 9c52c3dc47 intel: Set bo size from lseek if kernel supports it
The various create and open functions set the buffer size, but
drm_intel_bo_gem_create_from_prime() is an exception.  In the 3.12 kernel
we can now use lseek on the prime fd to determine the size of the bo.
Use that and override the userprovided size.  If the kernel doesn't
support this, we get an error and fall back to the user provided size.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
2013-10-10 14:41:40 -07: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/aub: Implement a way to specify the output .aub filename 2013-06-10 17:52:39 +01: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: Set bo size from lseek if kernel supports it 2013-10-10 14:41:40 -07:00
intel_bufmgr_priv.h intel/context: Add drm_intel_context type 2012-06-27 09:57:16 -07:00
intel_chipset.h intel: Adding more reserved PCI IDs for Haswell. 2013-06-05 15:31:16 -07:00
intel_debug.h intel: shared header for shader debugging 2011-08-01 14:44:58 -07:00
intel_decode.c intel-decode: Fix gen6 HIER_DEPTH_BUFFER decoding 2013-04-04 09:59:20 +02: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