Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Felix Kuehling f4fd28b6c7 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 <Felix.Kuehling@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-07-03 14:31:57 -05:00
..
2015-06-03 21:03:15 -04:00
2019-06-20 11:36:22 -05:00
2019-06-20 11:36:22 -05:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2017-10-20 13:28:44 -04:00
2019-01-14 10:58:37 +01:00
2019-06-10 23:00:01 +02:00
2015-06-03 21:03:15 -04:00
2019-06-22 09:34:14 -05:00
2015-06-03 21:03:17 -04:00
2019-06-20 21:16:38 -05:00
2016-08-31 15:21:09 -04:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-06-27 08:56:16 -05:00