[PATCH RFT] drm/etnaviv: reap idle softpin mappings when necessary
Christian Gmeiner
christian.gmeiner at gmail.com
Sun Jan 9 14:49:39 UTC 2022
Am Fr., 17. Dez. 2021 um 22:10 Uhr schrieb Lucas Stach <l.stach at pengutronix.de>:
>
> 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 at pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
--
greets
--
Christian Gmeiner, MSc
https://christian-gmeiner.info/privacypolicy
More information about the etnaviv
mailing list