Skip to content
Commit 3943875e authored by Thomas Hellstrom's avatar Thomas Hellstrom
Browse files

drm/ttm: Fix vma page_prot bit manipulation



Fix a long-standing TTM issue where we manipulated the vma page_prot
bits while mmap_sem was taken in read mode only. We now make a local
copy of the vma structure which we pass when we set the ptes.

Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: default avatarJerome Glisse <jglisse@redhat.com>
parent 59c8e663
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