intel: Add support for userptr objects
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 19 Jun 2014 14:52:03 +0000 (15:52 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Wed, 17 Sep 2014 11:15:57 +0000 (12:15 +0100)
commitae8edc7544e566084f7b958eb93c9109b471ca30
treeeaa01b63273788dd1adbb99112765cba2dd1c3b0
parent86b37c61c78edd1353a3f76f678c39e2ec168771
intel: Add support for userptr objects

Allow userptr objects to be created and used via libdrm_intel.

At the moment tiling and mapping to GTT aperture is not supported
due hardware limitations across different generations and uncertainty
about its usefulness.

v2: Improved error handling in feature detection per review comments.

v3: Rebase on top of the drm_public addition, minor whitespace addition.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> (v3)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> (v1,v2)
intel/intel_bufmgr.c
intel/intel_bufmgr.h
intel/intel_bufmgr_gem.c
intel/intel_bufmgr_priv.h