From 72abe983adfe7e8dcdcec11f1bc11d0b3daae063 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 18 Feb 2009 13:06:35 -0800 Subject: intel: Add a new bufmgr alloc function to get BOs ready for rendering to. This avoids using the oldest BO in the BO cache and waiting for it to be idle before we turn around and render to it with the GPU. Thanks to Chris Wilson for pointing out how silly we were being. --- libdrm/libdrm_lists.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdrm/libdrm_lists.h') diff --git a/libdrm/libdrm_lists.h b/libdrm/libdrm_lists.h index 8e23991f..6410f573 100644 --- a/libdrm/libdrm_lists.h +++ b/libdrm/libdrm_lists.h @@ -29,6 +29,8 @@ * list handling. No list looping yet. */ +#include + typedef struct _drmMMListHead { struct _drmMMListHead *prev; -- cgit v1.2.3