mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 23:53:45 +07:00
b72af445cd
Some Vivante GPUs are found in systems that have interconnects restricted to 32 address bits, but may have system memory mapped above the 4GB mark. As this region isn't accessible to the GPU via DMA any GPU memory allocated in the upper part needs to go through SWIOTLB bounce buffering. This kills performance if it happens too often, as well as overrunning the available bounce buffer space, as the GPU buffer may stay mapped for a long time. Avoid bounce buffering by checking the addressing restrictions. If the GPU is unable to access memory above the 4GB mark, request our SHM buffers to be located in the DMA32 zone. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> |
||
---|---|---|
.. | ||
cmdstream.xml.h | ||
common.xml.h | ||
etnaviv_buffer.c | ||
etnaviv_cmd_parser.c | ||
etnaviv_cmdbuf.c | ||
etnaviv_cmdbuf.h | ||
etnaviv_drv.c | ||
etnaviv_drv.h | ||
etnaviv_dump.c | ||
etnaviv_dump.h | ||
etnaviv_gem_prime.c | ||
etnaviv_gem_submit.c | ||
etnaviv_gem.c | ||
etnaviv_gem.h | ||
etnaviv_gpu.c | ||
etnaviv_gpu.h | ||
etnaviv_hwdb.c | ||
etnaviv_iommu_v2.c | ||
etnaviv_iommu.c | ||
etnaviv_mmu.c | ||
etnaviv_mmu.h | ||
etnaviv_perfmon.c | ||
etnaviv_perfmon.h | ||
etnaviv_sched.c | ||
etnaviv_sched.h | ||
Kconfig | ||
Makefile | ||
state_3d.xml.h | ||
state_blt.xml.h | ||
state_hi.xml.h | ||
state.xml.h |