On Tue, Nov 04, 2014 at 02:31:29PM +0000, Chris Wilson wrote:
> +static drm_intel_bo *
> +check_bo_alloc_userptr(drm_intel_bufmgr *bufmgr,
> +                    const char *name,
> +                    void *addr,
> +                    uint32_t tiling_mode,
> +                    uint32_t stride,
> +                    unsigned long size,
> +                    unsigned long flags)
> +{
> +     if (has_userptr((drm_intel_bufmgr_gem *)bufmgr))
> +             bufmgr->bo_alloc_userptr = drm_intel_bo_alloc_userptr;

bufmgr->bo_alloc_userptr = drm_intel_gem_bo_alloc_userptr; ofc
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to