aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2018-07-23 17:45:46 -0400
committerAlex Deucher <[email protected]>2019-05-24 12:21:01 -0500
commit2c5a51f57042f9d686d72b96a41eb81dbfb86a64 (patch)
treea0d3b1696b89d06d5eb2c4abda03d456cfe8bd64 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parente14ba95b908f049dc98915e3452705dec5e506c6 (diff)
drm/amdgpu: use HMM callback to replace mmu notifier
Replace our MMU notifier with hmm_mirror_ops.sync_cpu_device_pagetables callback. Enable CONFIG_HMM and CONFIG_HMM_MIRROR as a dependency in DRM_AMDGPU_USERPTR Kconfig. It supports both KFD userptr and gfx userptr paths. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions