diff options
| author | Philip Yang <[email protected]> | 2018-07-23 21:45:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-03-19 20:03:25 +0000 |
| commit | 57731a07795ae80790c6ae7d8e7001cdbd6d14c0 (patch) | |
| tree | a24aba39baf9b04a66a60eefcb5bac393d2425b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amdgpu: use BACO on vega12 if platform supports it (diff) | |
| download | kernel-57731a07795ae80790c6ae7d8e7001cdbd6d14c0.tar.gz kernel-57731a07795ae80790c6ae7d8e7001cdbd6d14c0.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
