]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/selftests: Lock the drm_mm while modifying
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2019 09:17:13 +0000 (10:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2019 10:07:57 +0000 (11:07 +0100)
commit8221d21b0664d79a4319bad526f4f727d3b15981
tree8263cc42a15ca905cd6d34aab27898a3ad54a581
parent63251685c141ef8db611cd36609a8369d97b47da
drm/i915/selftests: Lock the drm_mm while modifying

Remember to lock the drm_mm as we modify it, lest it be modified in the
background by retire/free workers!

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/20190703091726.11690-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c