summaryrefslogtreecommitdiff
path: root/shared-core/i915_drv.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-02-28 09:08:52 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-03-12 09:49:27 +0100
commit8a18d123f55a7fb11ce333f0b1095020918b8616 (patch)
tree8d49c10e3001408cd4778a11fd535c19a70850af /shared-core/i915_drv.h
parentf13936f7fc4d4932d5c511ccec29f1c4d24dc2dc (diff)
Avoid large kmallocs.
Diffstat (limited to 'shared-core/i915_drv.h')
-rw-r--r--shared-core/i915_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 570fc4d3..3bc39e2a 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -69,6 +69,7 @@
#ifdef I915_HAVE_BUFFER
#define I915_MAX_VALIDATE_BUFFERS 4096
+struct drm_i915_validate_buffer;
#endif
typedef struct _drm_i915_ring_buffer {
@@ -141,6 +142,7 @@ typedef struct drm_i915_private {
void *agp_iomap;
unsigned int max_validate_buffers;
struct mutex cmdbuf_mutex;
+ struct drm_i915_validate_buffer *val_bufs;
#endif
DRM_SPINTYPE swaps_lock;