Mesa (master): radeon: fix build on non-KMS systems.

Dave Airlie airlied at kemper.freedesktop.org
Sun Jan 2 20:09:54 UTC 2011


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jan  3 06:02:43 2011 +1000

radeon: fix build on non-KMS systems.

Reported on irc by adamk.

---

 src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
index 6c2648b..60f1049 100644
--- a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
+++ b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
@@ -67,6 +67,9 @@ struct drm_radeon_info {
 #define DRM_RADEON_INFO 0x1
 #endif
 
+static inline void radeon_gem_get_kernel_name(struct radeon_bo *dummy, uint32_t *value)
+{
+}
 
 static inline uint32_t radeon_gem_name_bo(struct radeon_bo *dummy)
 {




More information about the mesa-commit mailing list