diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-11 07:51:59 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-11 16:26:05 +0100 |
commit | f63dfc1464380833c6a2c8daa1b767c6020565af (patch) | |
tree | fd0996e8b14af630ff219a7c57ecff4a97f51e3f /lib/test_parman.c | |
parent | 5a5efbf4ef504a8136963a8ae10a3c0a1d59b479 (diff) |
drm/i915/selftests: Hold the vma manager lock while modifying mmap_offset
Right idea, wrong lock. We already drop struct_mutex before we free the
mmap_offset when freeing the object, so we need to take the vma manager
lock when manipulating the mmap_offset address space for our selftests.
Fixes: 8221d21b0664 ("drm/i915/selftests: Lock the drm_mm while modifying")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190711065215.4004-2-chris@chris-wilson.co.uk
Diffstat (limited to 'lib/test_parman.c')
0 files changed, 0 insertions, 0 deletions