linux/drivers/gpu/drm/etnaviv
Lucas Stach 436cff507f drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem
commit e168c25526 upstream.

When the mapping is already reaped the unmap must be a no-op, as we
would otherwise try to remove the mapping twice, corrupting the involved
data structures.

Cc: stable@vger.kernel.org # 5.4
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Guido Günther <agx@sigxcpu.org>
Acked-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-09 10:21:24 +02:00
..
cmdstream.xml.h
common.xml.h
etnaviv_buffer.c drm/etnaviv: return context from etnaviv_iommu_context_get 2021-09-22 12:27:55 +02:00
etnaviv_cmd_parser.c
etnaviv_cmdbuf.c
etnaviv_cmdbuf.h
etnaviv_drv.c drm-misc-next for v5.9: 2020-06-24 15:45:51 +10:00
etnaviv_drv.h
etnaviv_dump.c
etnaviv_dump.h
etnaviv_gem_prime.c drm: allow limiting the scatter list size. 2020-09-09 07:58:56 +02:00
etnaviv_gem_submit.c drm/etnaviv: relax submit size limits 2022-02-01 17:25:40 +01:00
etnaviv_gem.c drm/etnaviv: return context from etnaviv_iommu_context_get 2021-09-22 12:27:55 +02:00
etnaviv_gem.h
etnaviv_gpu.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-22 12:27:55 +02:00
etnaviv_gpu.h drm/etnaviv: consider completed fence seqno in hang check 2022-01-27 10:54:18 +01:00
etnaviv_hwdb.c
etnaviv_iommu_v2.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-22 12:27:55 +02:00
etnaviv_iommu.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-22 12:27:55 +02:00
etnaviv_mmu.c drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem 2022-06-09 10:21:24 +02:00
etnaviv_mmu.h drm/etnaviv: return context from etnaviv_iommu_context_get 2021-09-22 12:27:55 +02:00
etnaviv_perfmon.c
etnaviv_perfmon.h
etnaviv_sched.c drm/etnaviv: consider completed fence seqno in hang check 2022-01-27 10:54:18 +01:00
etnaviv_sched.h
Kconfig
Makefile
state_3d.xml.h
state_blt.xml.h
state_hi.xml.h
state.xml.h