linux-stable/drivers/gpu/drm/etnaviv
Lucas Stach f232d9ec02 drm/etnaviv: fix TS cache flushing on GPUs with BLT engine
As seen in the Vivante kernel driver, most GPUs with the BLT engine have
a broken TS cache flush. The workaround is to temporarily set the BLT
command to CLEAR_IMAGE, without actually executing the clear. Apparently
this state change is enough to trigger the required TS cache flush. As
the BLT engine is completely asychronous, we also need a few more stall
states to synchronize the flush with the frontend.

Root-caused-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
2020-03-20 18:40:44 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
cmdstream.xml.h
common.xml.h
etnaviv_buffer.c drm/etnaviv: fix TS cache flushing on GPUs with BLT engine 2020-03-20 18:40:44 +01:00
etnaviv_cmd_parser.c
etnaviv_cmdbuf.c drm/etnaviv: implement softpin 2019-08-15 12:07:47 +02:00
etnaviv_cmdbuf.h drm/etnaviv: rework MMU handling 2019-08-15 10:56:45 +02:00
etnaviv_drv.c drm/etnaviv: request pages from DMA32 zone when needed 2020-03-20 18:40:44 +01:00
etnaviv_drv.h drm/etnaviv: request pages from DMA32 zone when needed 2020-03-20 18:40:44 +01:00
etnaviv_dump.c drm/etnaviv: fix deadlock in GPU coredump 2019-10-29 18:11:06 +01:00
etnaviv_dump.h drm/etnaviv: pass mmu pointer to etnaviv_core_dump_mmu 2019-08-15 10:53:31 +02:00
etnaviv_gem.c drm/etnaviv: request pages from DMA32 zone when needed 2020-03-20 18:40:44 +01:00
etnaviv_gem.h drm/etnaviv: Replace zero-length array with flexible-array member 2020-03-05 12:15:46 +01:00
etnaviv_gem_prime.c Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next 2019-08-22 13:21:16 +10:00
etnaviv_gem_submit.c drm/etnaviv: Use dma_resv locking wrappers 2019-12-17 17:26:08 +01:00
etnaviv_gpu.c drm/etnaviv: request pages from DMA32 zone when needed 2020-03-20 18:40:44 +01:00
etnaviv_gpu.h drm/etnaviv: determine product, customer and eco id 2020-02-26 16:20:04 +01:00
etnaviv_hwdb.c drm/etnaviv: add hwdb entry for gc400 found in STM32 2020-02-26 16:20:04 +01:00
etnaviv_iommu.c drm/etnaviv: fix missing unlock on error in etnaviv_iommuv1_context_alloc() 2019-09-02 12:48:55 +02:00
etnaviv_iommu_v2.c drm/etnaviv: fix dumping of iommuv2 2019-10-29 18:12:24 +01:00
etnaviv_mmu.c drm/etnaviv: reinstate MMUv1 command buffer window check 2019-10-29 18:11:50 +01:00
etnaviv_mmu.h drm/etnaviv: allow to request specific virtual address for gem mapping 2019-08-15 11:58:59 +02:00
etnaviv_perfmon.c drm/etnaviv: rework perfmon query infrastructure 2020-03-03 10:58:06 +01:00
etnaviv_perfmon.h
etnaviv_sched.c drm/etnaviv: dump only failing submit 2019-08-15 10:48:51 +02:00
etnaviv_sched.h
state.xml.h
state_3d.xml.h
state_blt.xml.h drm/etnaviv: fix TS cache flushing on GPUs with BLT engine 2020-03-20 18:40:44 +01:00
state_hi.xml.h drm/etnaviv: Update idle bits 2020-03-03 10:58:57 +01:00