radeonsi: remove unused variable si_state_dsa::db_render_control
[mesa.git] / src / gallium / drivers / nouveau / nouveau_winsys.h
index 9fb865e170d3e827d59bd2c514d2586c165e2847..51effb1d8d222e09da5f8be1560b450a3c9353d1 100644 (file)
@@ -6,12 +6,15 @@
 
 #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)
 {
@@ -74,6 +77,9 @@ nouveau_screen_transfer_flags(unsigned pipe)
        return flags;
 }
 
+extern struct pipe_screen *
+nv30_screen_create(struct nouveau_device *);
+
 extern struct pipe_screen *
 nv50_screen_create(struct nouveau_device *);