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

Eric Anholt eric at anholt.net
Tue Oct 6 22:54:42 CEST 2009


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.

-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091006/ef423c55/attachment.sig>


More information about the Intel-gfx mailing list