diff options
author | Jason Gunthorpe <[email protected]> | 2019-11-12 16:22:31 -0400 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-11-23 19:56:45 -0400 |
commit | d3eeb1d77c5d0af9df442db63722928238310a86 (patch) | |
tree | 99df12b44bbc7831e17a626e565e59245fd83ce8 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | a22dd506400d0f4784ad596f073b9eb5ed7c6a2a (diff) |
xen/gntdev: use mmu_interval_notifier_insert
gntdev simply wants to monitor a specific VMA for any notifier events,
this can be done straightforwardly using mmu_interval_notifier_insert()
over the VMA's VA range.
The notifier should be attached until the original VMA is destroyed.
It is unclear if any of this is even sane, but at least a lot of duplicate
code is removed.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions