drm/i915/selftests: Always lock the drm_mm around insert/remove
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Nov 2019 09:56:59 +0000 (09:56 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Nov 2019 14:23:53 +0000 (14:23 +0000)
commitb006869c6e79792cecf27662190f5c5cb73d26fb
treeef79b72d8d84d111bec82a1415e4406052c49527
parent69305732796f50c9e74cd850faef668f38a483b3
drm/i915/selftests: Always lock the drm_mm around insert/remove

Be paranoid and make sure the drm_mm is locked whenever we insert/remove
our own nodes.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191129095659.665381-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c