linux_dsm_epyc7002/drivers/gpu/drm/v3d
Eric Anholt 38c2c7917a drm/v3d: Fix and extend MMU error handling.
We were setting the wrong flags to enable PTI errors, so we were
seeing reads to invalid PTEs show up as write errors.  Also, we
weren't turning on the interrupts.  The AXI IDs we were dumping
included the outstanding write number and so they looked basically
random.  And the VIO_ADDR decoding was based on the MMU VA_WIDTH for
the first platform I worked on and was wrong on others.  In short,
this was a thorough mess from early HW enabling.

Tested on V3D 4.1 and 4.2 with intentional L2T, CLE, PTB, and TLB
faults.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190419001014.23579-4-eric@anholt.net
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
2019-05-16 09:24:52 -07:00
..
Kconfig drm/v3d: Use the new shmem helpers to reduce driver boilerplate. 2019-03-14 12:06:44 -07:00
Makefile
v3d_bo.c drm/v3d: fix a NULL vs error pointer mixup 2019-04-01 09:33:38 -07:00
v3d_debugfs.c drm/v3d: Dump V3D error debug registers in debugfs, and one at reset. 2019-05-16 09:24:43 -07:00
v3d_drv.c drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07:00
v3d_drv.h drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07: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: Dump V3D error debug registers in debugfs, and one at reset. 2019-05-16 09:24:43 -07:00
v3d_irq.c drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07:00
v3d_mmu.c drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07:00
v3d_regs.h drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07:00
v3d_sched.c drm/scheduler: rework job destruction 2019-05-02 15:45:48 -05:00
v3d_trace_points.c
v3d_trace.h drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00