summaryrefslogtreecommitdiff
path: root/intel/intel_bufmgr.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-06-04 12:47:19 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-06-04 13:01:11 +0100
commit9d77603d8b95aee4f2408e437c55af15ee05b608 (patch)
tree458d906c5f63cace1d295ab001458119bfb7586c /intel/intel_bufmgr.h
parent61be94018ae9c403517d53f69357719224fa6ff3 (diff)
intel: Add interface to query aperture sizes.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'intel/intel_bufmgr.h')
-rw-r--r--intel/intel_bufmgr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intel/intel_bufmgr.h b/intel/intel_bufmgr.h
index daa18b4c..889ef46c 100644
--- a/intel/intel_bufmgr.h
+++ b/intel/intel_bufmgr.h
@@ -151,6 +151,8 @@ void drm_intel_gem_bo_start_gtt_access(drm_intel_bo *bo, int write_enable);
int drm_intel_get_pipe_from_crtc_id(drm_intel_bufmgr *bufmgr, int crtc_id);
+int drm_intel_get_aperture_sizes(int fd, size_t *mappable, size_t *total);
+
/* drm_intel_bufmgr_fake.c */
drm_intel_bufmgr *drm_intel_bufmgr_fake_init(int fd,
unsigned long low_offset,