Re: [PATCH 2/2] drm/etnaviv: reap idle mapping if it doesn't match the softpin address

2022-08-24 Thread Guido Günther
Hi, On Thu, Jul 14, 2022 at 12:31:43PM +0200, Lucas Stach wrote: > When a idle BO, which is held open by another process, gets freed by > userspace and subsequently referenced again by e.g. importing it again, > userspace may assign a different softpin VA than the last time around. > As the kernel

[PATCH 2/2] drm/etnaviv: reap idle mapping if it doesn't match the softpin address

2022-07-14 Thread Lucas Stach
When a idle BO, which is held open by another process, gets freed by userspace and subsequently referenced again by e.g. importing it again, userspace may assign a different softpin VA than the last time around. As the kernel GEM object still exists, we likely have a idle mapping with the old VA