aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2022-03-23 16:08:25 +0000
committerLucas Stach <[email protected]>2022-04-06 08:01:51 +0000
commit2829a9fcb738f742baad9d15de4c6eac84bcfd08 (patch)
tree1514e271a5f0700ad465f2b69027c11ef18cc319 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
parentdrm/etnaviv: move flush_seq increment into etnaviv_iommu_map/unmap (diff)
downloadkernel-2829a9fcb738f742baad9d15de4c6eac84bcfd08.tar.gz
kernel-2829a9fcb738f742baad9d15de4c6eac84bcfd08.zip
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 <[email protected]> Tested-by: Guido Günther <[email protected]> Acked-by: Guido Günther <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions