diff options
author | Felix Kuehling <[email protected]> | 2019-06-29 01:50:35 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-07-03 14:31:57 -0500 |
commit | f4fd28b6c78cef054daf8d8b8dff8ef614ddfc00 (patch) | |
tree | 937ff0200150157f55bd48ab487c14fec0f7b1b7 /net/lapb/lapb_subr.c | |
parent | e7e2505326496c140db26c797fafea48a492b8c2 (diff) |
drm/amdgpu: Fix tracking of invalid userptrs
Restore the code that resets mem->invalid. Othewise so mapping
userptrs after they got an MMU notifiers would always be skipped.
This also avoids unnecessarily calling get_user_pages on BOs that
have not been invalidated since the last try.
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Philip Yang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions