diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-15 11:32:19 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-30 23:24:49 +0100 |
commit | ed2f3452677e46a4270c25c1b7fa3e060fdd501e (patch) | |
tree | 6a77ed16c579d8b85418570ef87e45f03abb6e79 /drivers/gpu/drm/i915/i915_drv.h | |
parent | e12a2d53ae45a69aea499b64f75e7222cca0f12f (diff) | |
download | blackbird-op-linux-ed2f3452677e46a4270c25c1b7fa3e060fdd501e.tar.gz blackbird-op-linux-ed2f3452677e46a4270c25c1b7fa3e060fdd501e.zip |
drm/i915: Avoid clearing preallocated regions from the GTT
As yet we do not do any preallocation (chicken-and-egg problem), but we
may like to preserve anything already allocated by the BIOS or grub and
reuse for own purposes after initialising the driver.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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 21360a7e2c8f..f16101fa8b4a 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -935,6 +935,8 @@ enum i915_cache_level { I915_CACHE_LLC_MLC, /* gen6+, in docs at least! */ }; +#define I915_GTT_RESERVED ((struct drm_mm_node *)0x1) + struct drm_i915_gem_object_ops { /* Interface between the GEM object and its backing storage. * get_pages() is called once prior to the use of the associated set |