linux/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
..
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 drm/etnaviv: Convert timeouts to secs_to_jiffies() 2024-12-03 18:29:48 +01:00
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_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_gem.c drm/etnaviv: Add fdinfo support for memory stats 2024-12-03 18:39:31 +01:00
etnaviv_gem.h drm/etnaviv: Drop unused data member from the etnaviv_gem_object structure 2024-12-03 18:27:33 +01: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_v2.c
etnaviv_iommu.c
etnaviv_mmu.c drm/etnaviv: Improve VA, PA, SIZE alignment checking 2024-12-03 18:30:32 +01:00
etnaviv_mmu.h drm/etnaviv: Drop the 'struct etnaviv_iommu_global::pta_lock' data member 2024-10-28 16:49:37 +01:00
etnaviv_perfmon.c drm/etnaviv: assert GPU lock held in perfmon pipe_*_read functions 2024-10-28 16:33:43 +01:00
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
Kconfig
Makefile
state_3d.xml.h
state_blt.xml.h
state_hi.xml.h drm/etnaviv: update hardware headers from rnndb 2024-10-28 16:34:16 +01:00
state.xml.h