linux/drivers/gpu/drm/etnaviv
Lucas Stach d46450737c drm/etnaviv: always flush MMU TLBs on map/unmap
This ensures that the GPU isn't able to write into already freed
objects, as doing this in the IOVA reaper isn't enough, as the
gem_free_object path will also cause unmaps to happen.

On MMUv2 this also ensures that stale entries, which may have
been prefetched into the TLB will be purged.

The flush is low overhead, as it gets batched up with the next
user command buffer, so this isn't incuring an overhead for
each buffer map/unmap.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2017-02-02 10:30:08 +01:00
..
cmdstream.xml.h drm/etnaviv: Allow DRAW_INSTANCED commands 2016-12-02 19:30:22 +01:00
common.xml.h drm/etnaviv: update common and state_hi xml.h files 2016-01-26 18:53:55 +01:00
etnaviv_buffer.c drm/etnaviv: ensure write caches are flushed at end of user cmdstream 2016-10-10 15:26:38 +02:00
etnaviv_cmd_parser.c drm/etnaviv: add new GC3000 sensitive states 2017-01-30 12:43:54 +01:00
etnaviv_drv.c Merge branch 'drm-etnaviv-next' of git://git.pengutronix.de/lst/linux into drm-next 2016-12-06 11:00:16 +10:00
etnaviv_drv.h drm/etnaviv: implement dma-buf mmap 2016-12-02 19:30:21 +01:00
etnaviv_dump.c drm/etnaviv: don't invoke OOM killer from dump code 2016-12-02 19:30:23 +01:00
etnaviv_dump.h
etnaviv_gem_prime.c drm/etnaviv: fix gem_prime_get_sg_table to return new SG table 2016-12-02 19:30:23 +01:00
etnaviv_gem_submit.c kernel.h: add u64_to_user_ptr() 2016-04-29 17:03:49 -07:00
etnaviv_gem.c mm: use vmf->address instead of of vmf->virtual_address 2016-12-14 16:04:09 -08:00
etnaviv_gem.h drm/etnaviv: fix mmap operations for userptr and dma-buf objects 2016-05-06 10:42:33 +02:00
etnaviv_gpu.c drm/etnaviv: set up initial PULSE_EATER register 2017-01-30 12:43:55 +01:00
etnaviv_gpu.h dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
etnaviv_iommu_v2.c drm/etnaviv: constify etnaviv_iommu_ops structures 2017-02-02 10:29:52 +01:00
etnaviv_iommu.c drm/etnaviv: constify etnaviv_iommu_ops structures 2017-02-02 10:29:52 +01:00
etnaviv_iommu.h drm/etnaviv: implement IOMMUv2 translation 2016-09-15 15:29:43 +02:00
etnaviv_mmu.c drm/etnaviv: always flush MMU TLBs on map/unmap 2017-02-02 10:30:08 +01:00
etnaviv_mmu.h drm/etnaviv: map cmdbuf through MMU on version 2 2016-09-15 15:29:40 +02:00
Kconfig
Makefile
state_3d.xml.h drm: etnaviv: flush all GPU caches when stopping GPU 2016-03-07 15:36:56 +01:00
state_hi.xml.h drm/etnaviv: handle MMU exception in IRQ handler 2016-09-15 15:29:42 +02:00
state.xml.h