Mesa (master): r300g: Warning fixes?

Michel Dänzer daenzer at kemper.freedesktop.org
Sun Aug 30 10:54:30 UTC 2009


Module: Mesa
Branch: master
Commit: cefb2e5a2a2c51c850fbadf85d59c520d2c56501
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cefb2e5a2a2c51c850fbadf85d59c520d2c56501

Author: Michel Dänzer <daenzer at vmware.com>
Date:   Sun Aug 30 12:37:12 2009 +0200

r300g: Warning fixes?

---

 src/gallium/winsys/drm/radeon/core/radeon_buffer.c |    2 ++
 src/gallium/winsys/drm/radeon/core/radeon_drm.c    |    6 ++++++
 src/gallium/winsys/drm/radeon/core/radeon_r300.c   |    3 +++
 3 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/gallium/winsys/drm/radeon/core/radeon_buffer.c b/src/gallium/winsys/drm/radeon/core/radeon_buffer.c
index 07551e7..e52edc6 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_buffer.c
+++ b/src/gallium/winsys/drm/radeon/core/radeon_buffer.c
@@ -32,6 +32,8 @@
 
 #include "radeon_buffer.h"
 
+#include "radeon_bo_gem.h"
+
 static const char *radeon_get_name(struct pipe_winsys *ws)
 {
     return "Radeon/GEM+KMS";
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm.c b/src/gallium/winsys/drm/radeon/core/radeon_drm.c
index 47376a0..03a93de 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_drm.c
+++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.c
@@ -31,6 +31,12 @@
 
 #include "radeon_drm.h"
 
+#include "r300_screen.h"
+#include "xf86drm.h"
+
+#include <sys/ioctl.h>
+
+
 /* Create a pipe_screen. */
 struct pipe_screen* radeon_create_screen(struct drm_api* api,
                                          int drmFB,
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_r300.c b/src/gallium/winsys/drm/radeon/core/radeon_r300.c
index d723876..37a82ba 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_r300.c
+++ b/src/gallium/winsys/drm/radeon/core/radeon_r300.c
@@ -22,6 +22,9 @@
 
 #include "radeon_r300.h"
 
+#include "radeon_cs_gem.h"
+#include "xf86drm.h"
+
 static boolean radeon_r300_add_buffer(struct r300_winsys* winsys,
                                       struct pipe_buffer* pbuffer,
                                       uint32_t rd,




More information about the mesa-commit mailing list