Skip to content
Commit 1de68568 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/mmu: protect each vm with its own mutex



An upcoming commit requires being able to modify the PRAMIN BAR page
tables while already holding the MMU subdev mutex.

To solve this issue, each VM has been given its own mutex.  As a nice
side-effect, this also allows separate VMs to be updated concurrently.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 524bdbf2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment