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.
ae8edc7 intel: Add support for userptr objects
intel/intel_bufmgr.c | 14 ++++
intel/intel_bufmgr.h | 5 ++
intel/intel_bufmgr_gem.c | 163 ++++++++++++++++++++++++++++++++++++++++++++-
intel/intel_bufmgr_priv.h | 12 ++++
4 files changed, 193 insertions(+), 1 deletion(-)
Upstream: cgit.freedesktop.org