On Thu, Apr 02, 2015 at 03:28:20PM +0200, Gwenole Beauchesne wrote:
> +drm_intel_bo *
> +do_import_userptr(struct intel_driver_data *intel, const char *name,
> +void *data, size_t data_size, uint32_t va_flags)
> +{
> +#ifdef HAVE_DRM_INTEL_USERPTR
> +uint32_t page_size, tiling_mode, flags =
Allow creating VA surfaces with userptr allocated buffers. This requires
a recent enough version of libdrm (>= 2.4.57), but also a kernel (>= 3.16)
which contains appropriate fixes for userptr.
Signed-off-by: Gwenole Beauchesne
---
configure.ac | 19
src/i965_drv_video.c | 8