linux/drivers/gpu/drm/v3d
Phil Elwell 545d9d7802
drm/v3d: Don't clear MMU control bits on exception
MMU exception conditions are reported in the V3D_MMU_CTRL register as
write-1-to-clear (W1C) bits. The MMU interrupt handling code clears any
exceptions, but does so by masking out any other bits and writing the
result back. There are some important control bits in that register,
including MMU_ENABLE, so a safer approach is to simply write back the
value just read unaltered.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/1608755714-18233-4-git-send-email-stefan.wahren@i2se.com
2021-01-06 18:38:57 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
v3d_bo.c drm/shmem-helper: Use cached mappings by default 2020-11-24 09:10:21 +01:00
v3d_debugfs.c drm/v3d: Delete v3d_dev->dev 2020-04-28 15:15:52 +02:00
v3d_drv.c drm/v3d: Set dma_mask as well as coherent_dma_mask 2021-01-06 18:38:57 +01:00
v3d_drv.h drm/v3d: Delete v3d_dev->pdev 2020-04-28 15:15:59 +02:00
v3d_fence.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_gem.c drm/v3d/v3d_gem: Provide descriptions for 'v3d_lookup_bos's params 2020-11-17 20:26:47 +01:00
v3d_irq.c drm/v3d: Don't clear MMU control bits on exception 2021-01-06 18:38:57 +01:00
v3d_mmu.c drm: v3d: fix common struct sg_table related issues 2020-09-10 08:18:35 +02:00
v3d_regs.h drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07:00
v3d_sched.c drm/v3d/v3d_sched: Demote non-conformant kernel-doc header 2020-11-18 11:51:27 +01:00
v3d_trace_points.c
v3d_trace.h drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00