summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
diff options
context:
space:
mode:
authorShane Xiao <shane.xiao@amd.com>2023-04-06 12:37:16 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-04-11 18:03:44 -0400
commitaf152c2120587b02e03dfe370b52ba75c40f8952 (patch)
tree08ffd5d0e4b43febfe6b469388f3147533796efb /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
parent89317d4255122f05aaa0ac16d189a9ab3022653c (diff)
amd/amdgpu: Inherit coherence flags base on original BO flags
For SG BO to DMA-map userptrs on other GPUs, the SG BO need inherit MTYPEs in PTEs from original BO. If we set the flags, the device can be coherent with the CPUs and other GPUs. v2: 1. Drop unnecessary flags check 2. Remove local variable align Signed-off-by: Shane Xiao <shane.xiao@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h')
0 files changed, 0 insertions, 0 deletions