summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/i915_drv.h
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2010-01-31 14:25:29 +0000
committerrnoland <rnoland@FreeBSD.org>2010-01-31 14:25:29 +0000
commit04aaff5298149d2d2df6b4d11d782ff989614101 (patch)
treeaf15e53b9e0b6885d552ebd68a1fe78b560b474d /sys/dev/drm/i915_drv.h
parent23c4d0d9ded24602d1bba680bedba3b21d81cdc1 (diff)
downloadFreeBSD-src-04aaff5298149d2d2df6b4d11d782ff989614101.zip
FreeBSD-src-04aaff5298149d2d2df6b4d11d782ff989614101.tar.gz
Import simple drm memory manager.
This is required for the VIA driver and at least some parts are needed for GEM. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/drm/i915_drv.h')
-rw-r--r--sys/dev/drm/i915_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/drm/i915_drv.h b/sys/dev/drm/i915_drv.h
index 38ae374..f52ab50 100644
--- a/sys/dev/drm/i915_drv.h
+++ b/sys/dev/drm/i915_drv.h
@@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$");
#ifndef _I915_DRV_H_
#define _I915_DRV_H_
+#include "dev/drm/drm_mm.h"
#include "dev/drm/i915_reg.h"
/* General customization:
@@ -236,9 +237,8 @@ typedef struct drm_i915_private {
u8 saveCR[37];
struct {
-#ifdef __linux__
struct drm_mm gtt_space;
-#endif
+
/**
* List of objects currently involved in rendering from the
* ringbuffer.
OpenPOWER on IntegriCloud