]> git.baikalelectronics.ru Git - kernel.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)
commit1ba4347f92a3d73d375bc909f90499a08234d4b4
tree3dac5a68089709a8840acdc7d819e78eb35666bd
parent1d3e577b47f788db88aa46acef3585649879ca88
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