umber-kernel/drivers/gpu/drm/etnaviv
Tomeu Vizoso a042beac6e drm/etnaviv: fix flush sequence logic
The current logic uses the flush sequence from the current address
space. This is harmless when deducing the flush requirements for the
current submit, as either the incoming address space is the same one
as the currently active one or we switch context, in which case the
flush is unconditional.

However, this sequence is also stored as the current flush sequence
of the GPU. If we switch context the stored flush sequence will no
longer belong to the currently active address space. This incoherency
can then cause missed flushes, resulting in translation errors.

Fixes: 27b67278e0 ("drm/etnaviv: rework MMU handling")
Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Link: https://lore.kernel.org/r/20251021093723.3887980-1-l.stach@pengutronix.de
2025-10-27 22:47:09 +01:00
..
Kconfig
Makefile
cmdstream.xml.h
common.xml.h
etnaviv_buffer.c drm/etnaviv: fix flush sequence logic 2025-10-27 22:47:09 +01:00
etnaviv_cmd_parser.c
etnaviv_cmdbuf.c
etnaviv_cmdbuf.h
etnaviv_drv.c - cleanups 2025-01-10 10:55:06 +10:00
etnaviv_drv.h
etnaviv_dump.c
etnaviv_dump.h
etnaviv_gem.c
etnaviv_gem.h
etnaviv_gem_prime.c Revert "drm/etnaviv: Use dma_buf from GEM object instance" 2025-07-17 12:26:19 +02:00
etnaviv_gem_submit.c drm/sched: Store the drm client_id in drm_sched_fence 2025-05-28 16:15:58 +02:00
etnaviv_gpu.c - cleanups 2025-01-10 10:55:06 +10:00
etnaviv_gpu.h drm/etnaviv: add optional reset support 2024-12-20 19:25:51 +01:00
etnaviv_hwdb.c
etnaviv_iommu.c
etnaviv_iommu_v2.c
etnaviv_mmu.c
etnaviv_mmu.h
etnaviv_perfmon.c
etnaviv_perfmon.h
etnaviv_sched.c drm/etnaviv: Use DRM_GPU_SCHED_STAT_NO_HANG to skip the reset 2025-07-15 08:27:08 -03:00
etnaviv_sched.h
state.xml.h
state_3d.xml.h
state_blt.xml.h
state_hi.xml.h