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
Makefile
v3d_bo.c drm/shmem-helper: Use cached mappings by default 2020-11-24 09:10:21 +01:00
v3d_debugfs.c
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
v3d_fence.c
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
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