summaryrefslogtreecommitdiff
path: root/shared-core/radeon_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-18 19:25:31 +1000
committerDave Airlie <airlied@linux.ie>2007-11-18 19:25:31 +1000
commita90510966e12e20d3c51d224dda607ac9951d039 (patch)
tree0f27d64b7588ada0f04c288bdef0ff22d16656b1 /shared-core/radeon_drv.h
parent307fc3c92c85ded23de414b0d1a3d48f934c666d (diff)
radeon: refactor out the fb/agp location read/write.
Add a new get param to get the fb location into userspace. Mesa currently hits MMIO to do this, but this isn't always possible.
Diffstat (limited to 'shared-core/radeon_drv.h')
-rw-r--r--shared-core/radeon_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/radeon_drv.h b/shared-core/radeon_drv.h
index a1745cdd..18a297ca 100644
--- a/shared-core/radeon_drv.h
+++ b/shared-core/radeon_drv.h
@@ -345,6 +345,7 @@ extern int radeon_cp_resume(struct drm_device *dev, void *data, struct drm_file
extern int radeon_engine_reset(struct drm_device *dev, void *data, struct drm_file *file_priv);
extern int radeon_fullscreen(struct drm_device *dev, void *data, struct drm_file *file_priv);
extern int radeon_cp_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv);
+extern u32 radeon_read_fb_location(drm_radeon_private_t *dev_priv);
extern void radeon_freelist_reset(struct drm_device * dev);
extern struct drm_buf *radeon_freelist_get(struct drm_device * dev);