[Intel-gfx] [PATCH] libdrm/intel: execbuf2 support

Jesse Barnes jbarnes at virtuousgeek.org
Tue Oct 6 23:21:48 CEST 2009


On Tue, 06 Oct 2009 13:54:42 -0700
Eric Anholt <eric at anholt.net> wrote:

> On Tue, 2009-09-15 at 11:02 -0700, Jesse Barnes wrote:
> 
> > @@ -1502,6 +1807,9 @@ drm_intel_bufmgr_gem_init(int fd, int
> > batch_size) bufmgr_gem->bufmgr.bo_exec = drm_intel_gem_bo_exec;
> >      bufmgr_gem->bufmgr.bo_busy = drm_intel_gem_bo_busy;
> >      bufmgr_gem->bufmgr.destroy = drm_intel_bufmgr_gem_destroy;
> > +    /* Use the new one if available */
> > +    if (exec2)
> > +	    bufmgr_gem->bufmgr.bo_exec = drm_intel_gem_bo_exec2;
> >      bufmgr_gem->bufmgr.debug = 0;
> >      bufmgr_gem->bufmgr.check_aperture_space =
> > drm_intel_gem_check_aperture_space;
> > bufmgr_gem->bufmgr.bo_disable_reuse =
> > drm_intel_gem_bo_disable_reuse;
> 
> this is still broken, and means that new kernel, new libdrm, old
> everything-else fails.

I thought I had posted new bits to enable this only after being
called... at any rate I'll repost.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list