]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/etnaviv: space out IOVA layout for cmdbufs on MMUv2
authorLucas Stach <l.stach@pengutronix.de>
Thu, 15 Sep 2016 11:06:43 +0000 (13:06 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 15 Sep 2016 13:29:44 +0000 (15:29 +0200)
commit7c971c62dd543a323a0cabc0c559caea1759f59f
treefb8404e76bfc26d4c3abf762066d7407686897bf
parent12ff4bdef1a015945e4b19ed80dd9e50626cd3bc
drm/etnaviv: space out IOVA layout for cmdbufs on MMUv2

At least on the GC3000 the FE MMU is not properly flushing stale TLB
entries. Make sure to map the cmdbufs with a big enough spacing in
the IOVAs to not hit old/prefetched TLB entries when jumping to a
newly mapped cmdbuf.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_mmu.c