linux-stable/drivers/gpu/drm/etnaviv
Lucas Stach 2829a9fcb7 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>
2022-04-06 10:01:51 +02:00
..
cmdstream.xml.h
common.xml.h
etnaviv_buffer.c drm/etnaviv: return context from etnaviv_iommu_context_get 2021-09-16 10:34:59 +02:00
etnaviv_cmd_parser.c
etnaviv_cmdbuf.c
etnaviv_cmdbuf.h
etnaviv_drv.c drm/etnaviv: use a 32 bit mask as coherent DMA mask 2021-12-01 13:27:12 +01:00
etnaviv_drv.h drm/etnaviv: Implement mmap as GEM object function 2021-07-06 18:32:23 +02:00
etnaviv_dump.c drm/etnaviv: dump: fix sparse warnings 2021-01-22 12:38:17 +01:00
etnaviv_dump.h
etnaviv_gem.c drm/etnaviv: move MMU context ref/unref into map/unmap_gem 2022-04-06 10:01:36 +02:00
etnaviv_gem.h
etnaviv_gem_prime.c dma-buf: move dma-buf symbols into the DMA_BUF module namespace 2021-10-25 14:53:08 +02:00
etnaviv_gem_submit.c drm/etnaviv: relax submit size limits 2022-01-25 19:03:11 +01:00
etnaviv_gpu.c bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
etnaviv_gpu.h drm/etnaviv: consider completed fence seqno in hang check 2021-12-23 20:21:33 +01:00
etnaviv_hwdb.c drm/etnaviv: add HWDB entry for GC7000 r6202 2021-07-06 18:31:26 +02:00
etnaviv_iommu.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-16 10:35:33 +02:00
etnaviv_iommu_v2.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-16 10:35:33 +02:00
etnaviv_mmu.c drm/etnaviv: reap idle softpin mappings when necessary 2022-04-06 10:01:51 +02:00
etnaviv_mmu.h drm/etnaviv: return context from etnaviv_iommu_context_get 2021-09-16 10:34:59 +02:00
etnaviv_perfmon.c drm/etnaviv: add pipe_select(..) helper 2020-09-25 12:02:58 +02:00
etnaviv_perfmon.h
etnaviv_sched.c drm/etnaviv: consider completed fence seqno in hang check 2021-12-23 20:21:33 +01:00
etnaviv_sched.h
Kconfig
Makefile
state.xml.h
state_3d.xml.h
state_blt.xml.h
state_hi.xml.h