linux_dsm_epyc7002/drivers/gpu/drm/etnaviv
Christian Gmeiner 357713ce9b drm/etnaviv: add 'sync point' support
In order to support performance counters in a sane way we need to provide
a method to sync the GPU with the CPU. The GPU can process multpile command
buffers/events per irq. With the help of a 'sync point' we can trigger an event
and stop the GPU/FE immediately. When the CPU is done with is processing it
simply needs to restart the FE and the GPU will process the command stream.

Changes from v1 -> v2:
- process sync point with a work item to keep irq as fast as possible

Changes from v4 -> v5:
- renamed pmrs_* to sync_point_*
- call event_free(..) in sync_point_worker(..)

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
2017-10-10 11:45:45 +02: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.xml.h 2017-05-05 17:14:41 +02:00
etnaviv_buffer.c drm/etnaviv: add 'sync point' support 2017-10-10 11:45:45 +02:00
etnaviv_cmd_parser.c drm/etnaviv: add new GC3000 sensitive states 2017-01-30 12:43:54 +01:00
etnaviv_cmdbuf.c drm/etnaviv: extend etnaviv_gpu_cmdbuf_new(..) with nr_pmrs 2017-10-10 11:45:43 +02:00
etnaviv_cmdbuf.h drm/etnaviv: extend etnaviv_gpu_cmdbuf_new(..) with nr_pmrs 2017-10-10 11:45:43 +02:00
etnaviv_drv.c drm/etnaviv: add infrastructure to query perf counter 2017-10-10 11:45:41 +02:00
etnaviv_drv.h drm/etnaviv: add 'sync point' support 2017-10-10 11:45:45 +02:00
etnaviv_dump.c mm, vmalloc: use __GFP_HIGHMEM implicitly 2017-05-08 17:15:13 -07:00
etnaviv_dump.h drm/etnaviv: add initial etnaviv DRM driver 2015-12-15 14:48:02 +01:00
etnaviv_gem_prime.c drm/etnaviv: switch to drm_*{get,put} helpers 2017-08-08 15:47:32 +02:00
etnaviv_gem_submit.c drm/etnaviv: copy pmrs from userspace 2017-10-10 11:45:44 +02:00
etnaviv_gem.c drm/etnaviv: switch GEM allocations to __GFP_RETRY_MAYFAIL 2017-08-15 15:28:22 +02:00
etnaviv_gem.h drm/etnaviv: fix submit flags getting overwritten by BO content 2017-06-28 10:35:46 +02:00
etnaviv_gpu.c drm/etnaviv: add 'sync point' support 2017-10-10 11:45:45 +02:00
etnaviv_gpu.h drm/etnaviv: add 'sync point' support 2017-10-10 11:45:45 +02:00
etnaviv_iommu_v2.c drm/etnaviv: remove IOMMU dependency 2017-10-10 11:36:37 +02:00
etnaviv_iommu.c drm/etnaviv: remove IOMMU dependency 2017-10-10 11:36:37 +02:00
etnaviv_iommu.h drm/etnaviv: remove IOMMU dependency 2017-10-10 11:36:37 +02:00
etnaviv_mmu.c drm/etnaviv: remove IOMMU dependency 2017-10-10 11:36:37 +02:00
etnaviv_mmu.h drm/etnaviv: remove IOMMU dependency 2017-10-10 11:36:37 +02:00
etnaviv_perfmon.c drm/etnaviv: add performance monitor request processing 2017-10-10 11:45:45 +02:00
etnaviv_perfmon.h drm/etnaviv: add performance monitor request processing 2017-10-10 11:45:45 +02:00
Kconfig drm/etnaviv: remove IOMMU dependency 2017-10-10 11:36:37 +02:00
Makefile drm/etnaviv: add infrastructure to query perf counter 2017-10-10 11:45:41 +02:00
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 drm/etnaviv: add initial etnaviv DRM driver 2015-12-15 14:48:02 +01:00