diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-08-24 22:18:41 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-08 21:20:07 +0100 |
commit | 0ade638655f0ef4d807295c14a4c97544bd6b9ca (patch) | |
tree | 23ddab04b976c4133e1528d3be2aaa53d9e195d7 /drivers/gpu/drm | |
parent | e2404e7c3fe6f46e161edf085c6d9bea06ebe488 (diff) | |
download | op-kernel-dev-0ade638655f0ef4d807295c14a4c97544bd6b9ca.zip op-kernel-dev-0ade638655f0ef4d807295c14a4c97544bd6b9ca.tar.gz |
intel-gtt: introduce drm/intel-gtt.h
Add a few definitions to it that are already shared and that will
be shared in the future (like the number of stolen entries).
No functional changes in here.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 8d52f01..47228cb16 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -42,8 +42,6 @@ #include <linux/slab.h> #include <acpi/video.h> -extern int intel_max_stolen; /* from AGP driver */ - /** * Sets up the hardware status page for devices that need a physical address * in the register. diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index cfc8bfd..d825ef2 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -34,6 +34,7 @@ #include "intel_bios.h" #include "intel_ringbuffer.h" #include <linux/io-mapping.h> +#include <drm/intel-gtt.h> /* General customization: */ |