diff options
author | rnoland <rnoland@FreeBSD.org> | 2010-01-31 14:25:29 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2010-01-31 14:25:29 +0000 |
commit | 04aaff5298149d2d2df6b4d11d782ff989614101 (patch) | |
tree | af15e53b9e0b6885d552ebd68a1fe78b560b474d /sys/dev/drm/i915_drv.h | |
parent | 23c4d0d9ded24602d1bba680bedba3b21d81cdc1 (diff) | |
download | FreeBSD-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.h | 4 |
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. |