diff options
author | Eric Anholt <eric@anholt.net> | 2008-10-23 00:40:13 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-11-02 19:56:49 -0500 |
commit | 5a125c3c79167e78ba44efef03af7090ef28eeaf (patch) | |
tree | b8c3a9e44ea44b7afc821c0422a7ea6360814f03 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 4e270e9b8a9d246290f3901f1fb6c5efdb734ddf (diff) |
i915: Add GEM ioctl to get available aperture size.
This will let userland know when to submit its batchbuffers, before they get
too big to fit in the aperture.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 901e80cf5813..cc8a9f3f7a60 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -502,6 +502,8 @@ int i915_gem_set_tiling(struct drm_device *dev, void *data, | |||
502 | struct drm_file *file_priv); | 502 | struct drm_file *file_priv); |
503 | int i915_gem_get_tiling(struct drm_device *dev, void *data, | 503 | int i915_gem_get_tiling(struct drm_device *dev, void *data, |
504 | struct drm_file *file_priv); | 504 | struct drm_file *file_priv); |
505 | int i915_gem_get_aperture_ioctl(struct drm_device *dev, void *data, | ||
506 | struct drm_file *file_priv); | ||
505 | void i915_gem_load(struct drm_device *dev); | 507 | void i915_gem_load(struct drm_device *dev); |
506 | int i915_gem_proc_init(struct drm_minor *minor); | 508 | int i915_gem_proc_init(struct drm_minor *minor); |
507 | void i915_gem_proc_cleanup(struct drm_minor *minor); | 509 | void i915_gem_proc_cleanup(struct drm_minor *minor); |