diff options
| author | Philip Yang <[email protected]> | 2018-07-23 21:45:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-05-24 17:21:01 +0000 |
| commit | 2c5a51f57042f9d686d72b96a41eb81dbfb86a64 (patch) | |
| tree | a0d3b1696b89d06d5eb2c4abda03d456cfe8bd64 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amdgpu: Use heavy weight for tlb invalidation on xgmi configuration (diff) | |
| download | kernel-2c5a51f57042f9d686d72b96a41eb81dbfb86a64.tar.gz kernel-2c5a51f57042f9d686d72b96a41eb81dbfb86a64.zip | |
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
