diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2022-03-23 17:08:25 +0100 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2022-04-06 10:01:51 +0200 |
commit | 2829a9fcb738f742baad9d15de4c6eac84bcfd08 (patch) | |
tree | 1514e271a5f0700ad465f2b69027c11ef18cc319 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 9247fcca3982a29b04b002f0d30def9ff50740d5 (diff) |
drm/etnaviv: reap idle softpin mappings when necessary
Right now the only point where softpin mappings get removed from the
MMU context is when the mapped GEM object is destroyed. However,
userspace might want to reuse that address space before the object
is destroyed, which is a valid usage, as long as all mapping in that
region of the address space are no longer used by any GPU jobs.
Implement reaping of idle MMU mappings that would otherwise
prevent the insertion of a softpin mapping.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Guido Günther <agx@sigxcpu.org>
Acked-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions