diff options
author | Keith Packard <keithp@keithp.com> | 2008-05-06 14:43:56 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-05-06 14:43:56 -0700 |
commit | 2b9ef32669acf8197cf7d9b73b851c001db494cd (patch) | |
tree | abd29e97839f7301f30905a7fc91e537fa0aa851 /shared-core/i915_dma.c | |
parent | 631e86c5c4ad9b2cdd40749ea3b351204a362c80 (diff) | |
parent | d2373b2a341868882208bb4297ab4f2f51302031 (diff) |
Merge commit 'anholt/drm-gem' into drm-gem
Diffstat (limited to 'shared-core/i915_dma.c')
-rw-r--r-- | shared-core/i915_dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index d881a231..0601b89c 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -1051,6 +1051,8 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags) ret = drm_addmap(dev, base, size, _DRM_REGISTERS, _DRM_KERNEL | _DRM_DRIVER, &dev_priv->mmio_map); + INIT_LIST_HEAD(&dev_priv->mm.gtt_lru); + #ifdef __linux__ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) intel_init_chipset_flush_compat(dev); |