Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Yong Zhao 56fc40aba4 drm/amdkfd: Eliminate get_atc_vmid_pasid_mapping_valid
get_atc_vmid_pasid_mapping_valid() is very similar to
get_atc_vmid_pasid_mapping_pasid(), so they can be merged into a new
function get_atc_vmid_pasid_mapping_info() to reduce register access
times. More importantly, getting the PASID and the valid bit atomically
with a single read fixes some potential race conditions where the
mapping changes between the two reads.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-03 09:11:04 -05:00
..
2019-09-16 09:59:21 -05:00
2019-10-03 09:11:01 -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-10-03 09:10:58 -05:00
2019-10-03 09:10:58 -05: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
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-08-29 15:52:32 -05:00
2019-10-03 09:11:02 -05:00
2019-06-19 12:07:29 +02:00