WSL2-Linux-Kernel/drivers/gpu/drm/etnaviv
Lucas Stach 03bd455a79 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:23:24 +02:00
..
Kconfig
Makefile
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: Implement mmap as GEM object function 2021-07-06 18:32:23 +02:00
etnaviv_drv.h drm/etnaviv: Implement mmap as GEM object function 2021-07-06 18:32:23 +02:00
etnaviv_dump.c
etnaviv_dump.h
etnaviv_gem.c drm/etnaviv: return context from etnaviv_iommu_context_get 2021-09-16 10:34:59 +02:00
etnaviv_gem.h
etnaviv_gem_prime.c drm/etnaviv: Implement mmap as GEM object function 2021-07-06 18:32:23 +02:00
etnaviv_gem_submit.c drm/etnaviv: relax submit size limits 2022-02-01 17:27:01 +01:00
etnaviv_gpu.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-16 10:35:33 +02:00
etnaviv_gpu.h drm/etnaviv: consider completed fence seqno in hang check 2022-01-27 11:04:49 +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: check for reaped mapping in etnaviv_iommu_unmap_gem 2022-06-09 10:23:24 +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
etnaviv_perfmon.h
etnaviv_sched.c drm/etnaviv: consider completed fence seqno in hang check 2022-01-27 11:04:49 +01:00
etnaviv_sched.h
state.xml.h
state_3d.xml.h
state_blt.xml.h
state_hi.xml.h