#include "pipe/p_defines.h"
-#include <libdrm/nouveau.h>
+#include <nouveau.h>
#ifndef NV04_PFIFO_MAX_PACKET_LEN
#define NV04_PFIFO_MAX_PACKET_LEN 2047
#endif
+#define NOUVEAU_MIN_BUFFER_MAP_ALIGN 64
+#define NOUVEAU_MIN_BUFFER_MAP_ALIGN_MASK (NOUVEAU_MIN_BUFFER_MAP_ALIGN - 1)
+
static INLINE uint32_t
PUSH_AVAIL(struct nouveau_pushbuf *push)
{
return flags;
}
+extern struct pipe_screen *
+nv30_screen_create(struct nouveau_device *);
+
extern struct pipe_screen *
nv50_screen_create(struct nouveau_device *);