]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Assert the drm_mm_node is allocated when on the VM lists
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Jan 2017 19:26:58 +0000 (19:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 21 Jan 2017 10:32:27 +0000 (10:32 +0000)
commit44a0ec0d3bd5ebbe2233b48cc53b5c79b66277b7
tree3dac5a68089709a8840acdc7d819e78eb35666bd
parente0216b762a7096639db395a22bdda7d1a7213c0f
drm/i915: Assert the drm_mm_node is allocated when on the VM lists

Before moving the vma between the VM active/inactive lists, assert that
the node is still allocated.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170119192659.31789-5-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_gem_stolen.c
drivers/gpu/drm/i915/i915_vma.c