[Libva] [PATCH 0/3] Add support for userptr

Gwenole Beauchesne gb.devel at gmail.com
Thu Apr 2 06:28:17 PDT 2015


Hi,

This patch series allows for importing userptr memory buffers into VA
surfaces. This requires a recent enough libdrm version (>= 2.4.57) and
also kernel (>= 3.16) with appropriate userptr fixes. The capabilities
are tentatively checked for at run-time.

Regards,
Gwenole Beauchesne (3):
  extbuf: fix possible buffer overflow.
  extbuf: validate surface memory type.
  extbuf: add support for userptr imports.

 configure.ac         | 19 ++++++++++++
 src/i965_drv_video.c | 86 ++++++++++++++++++++++++++++++++++++++++++----------
 src/i965_drv_video.h |  9 ++++--
 src/intel_driver.h   |  1 +
 src/intel_memman.c   | 71 ++++++++++++++++++++++++++++++++++++++++++-
 src/intel_memman.h   |  7 +++++
 6 files changed, 173 insertions(+), 20 deletions(-)

-- 
1.9.1



More information about the Libva mailing list