aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-08-24 16:18:41 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-08 16:20:07 -0400
commit0ade638655f0ef4d807295c14a4c97544bd6b9ca (patch)
tree23ddab04b976c4133e1528d3be2aaa53d9e195d7 /drivers/gpu/drm
parente2404e7c3fe6f46e161edf085c6d9bea06ebe488 (diff)
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.c2
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
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 8d52f01a6d9..47228cb1690 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -42,8 +42,6 @@
42#include <linux/slab.h> 42#include <linux/slab.h>
43#include <acpi/video.h> 43#include <acpi/video.h>
44 44
45extern int intel_max_stolen; /* from AGP driver */
46
47/** 45/**
48 * Sets up the hardware status page for devices that need a physical address 46 * Sets up the hardware status page for devices that need a physical address
49 * in the register. 47 * in the register.
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index cfc8bfd0fd7..d825ef207b2 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -34,6 +34,7 @@
34#include "intel_bios.h" 34#include "intel_bios.h"
35#include "intel_ringbuffer.h" 35#include "intel_ringbuffer.h"
36#include <linux/io-mapping.h> 36#include <linux/io-mapping.h>
37#include <drm/intel-gtt.h>
37 38
38/* General customization: 39/* General customization:
39 */ 40 */