drm/etnaviv: add missing MMU context put when reaping MMU mapping
When we forcefully evict a mapping from the the address space and thus the MMU context, the MMU context is leaked, as the mapping no longer points to it, so it doesn't get freed when the GEM object is destroyed. Add the mssing context put to fix the leak. Cc: stable@vger.kernel.org # 5.4 Signed-off-by: NLucas Stach <l.stach@pengutronix.de> Tested-by: NMichael Walle <michael@walle.cc> Tested-by: NMarek Vasut <marex@denx.de> Reviewed-by: NChristian Gmeiner <christian.gmeiner@gmail.com>
Showing
想要评论请 注册 或 登录