]> git.openfabrics.org - ~emulex/infiniband.git/commit
drm/i915: drop duplicate ggtt vma list add in setup_global_gtt
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 12 Nov 2013 22:53:08 +0000 (14:53 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Nov 2013 00:05:01 +0000 (01:05 +0100)
commitb53c8c3577150a70e94b10090f68cfe3a4b601a5
treef12274f9a7432726bb3c5ba12aad014914b46529
parentb6359918b885da7c7b58c050674278dbd06020ab
drm/i915: drop duplicate ggtt vma list add in setup_global_gtt

Preallocated objects will already have been added to the vma_list when
creating their ggtt vma entry, and coincidentally also marked as holding
a ggtt mapping. Repeating the vma_list manipulation when setting up the
ggtt after preallocation is a recipe for an unhappy kernel.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Use the improve commit message suggest by Chris.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c