summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <airlied@dhcp-1-203.bne.redhat.com>2009-02-12 14:43:25 +1000
committerDave Airlie <airlied@dhcp-1-203.bne.redhat.com>2009-02-12 14:43:25 +1000
commit899b91b1fb766f2b716c53a350ff2a078655e6c5 (patch)
tree2ecb99972b8f28bc29717b7f33c14227f9070f2e /src/mesa
parentec0939b01370e9272000fcd4d71a023866e767a0 (diff)
radeon: add mminfo struct to wrapper
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h8
1 files changed, 8 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 a54a3610b9..6b05337fd3 100644
--- a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
+++ b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
@@ -15,6 +15,14 @@
#ifndef DRM_RADEON_GEM_INFO
#define DRM_RADEON_GEM_INFO 0x1c
+
+struct drm_radeon_gem_info {
+ uint64_t gart_start;
+ uint64_t gart_size;
+ uint64_t vram_start;
+ uint64_t vram_size;
+ uint64_t vram_visible;
+};
#endif
#ifndef RADEON_PARAM_DEVICE_ID