[Intel-gfx] [RFC] libdrm_intel: Add support for userptr objects

Damien Lespiau damien.lespiau at intel.com
Thu Jun 19 13:27:39 CEST 2014


On Thu, Jun 19, 2014 at 12:13:20PM +0100, Damien Lespiau wrote:
> On Wed, Feb 26, 2014 at 04:41:41PM +0000, Tvrtko Ursulin wrote:
> > From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> > 
> > 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.
> > 
> > Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> > ---
> >  include/drm/i915_drm.h    |  16 +++++
> >  intel/intel_bufmgr.c      |  13 ++++
> >  intel/intel_bufmgr.h      |   5 ++
> >  intel/intel_bufmgr_gem.c  | 154 +++++++++++++++++++++++++++++++++++++++++++++-
> >  intel/intel_bufmgr_priv.h |  12 +++-
> >  5 files changed, 198 insertions(+), 2 deletions(-)
> 
> Apart from couple of remarks below I couldn't find anything that would
> prevent merging this. Well, except maybe that it'd be very nice to have
> some feedback from someone using it, we do have an API/ABI guarantee on
> libdrm after all.

Actually, if you're retouching this patch, maybe spliting the i915_drm.h
update would be good, that's something we can push straight away.

-- 
Damien



More information about the Intel-gfx mailing list