linux-stable/drivers/gpu/drm/msm
Jordan Crouse 568692102b drm/msm/gpu: Add per-submission statistics
Add infrastructure to track statistics for GPU submissions
by sampling certain perfcounters before and after a submission.

To store the statistics, the per-ring memptrs region is
expanded to include room for up to 64 entries - this should
cover a reasonable amount of inflight submissions without
worrying about losing data. The target specific code inserts
PM4 commands to sample the counters before and after
submission and store them in the data region. The CPU can
access the data after the submission retires to make sense
of the statistics and communicate them to the user.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2018-12-11 13:05:28 -05:00
..
adreno drm/msm/gpu: Add per-submission statistics 2018-12-11 13:05:28 -05:00
disp drm/msm/dpu: set geometry for iommu domain 2018-12-11 13:05:27 -05:00
dsi drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
edp drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
hdmi drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
Kconfig drm/msm/gpu: Capture the GPU state on a GPU hang 2018-07-30 08:49:56 -04:00
Makefile drm/msm/dpu: remove cdm block support from resource manager 2018-10-03 20:24:52 -04:00
msm_atomic.c drm: extract drm_atomic_uapi.c 2018-09-09 14:19:18 +02:00
msm_debugfs.c drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
msm_debugfs.h
msm_drv.c drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
msm_drv.h drm/msm: dpu: Allow planes to extend past active display 2018-10-03 20:24:50 -04:00
msm_fb.c drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
msm_fbdev.c drm: msm: Use DRM_DEV_* instead of dev_* 2018-12-11 13:05:22 -05:00
msm_fence.c drm/msm: Remove unecessary dma_fence_ops 2018-08-17 11:22:25 +02:00
msm_fence.h drm/msm: strip out msm_fence_cb 2018-03-19 06:33:35 -04:00
msm_gem.c drm/msm: Gracefully handle failure in _msm_gem_kernel_new 2018-12-11 13:05:28 -05:00
msm_gem.h drm/msm: add sudo flag to submit ioctl 2018-02-20 10:41:20 -05:00
msm_gem_prime.c
msm_gem_shrinker.c
msm_gem_submit.c dma-buf: allow reserving more than one shared fence slot 2018-10-25 13:45:07 +02:00
msm_gem_vma.c drm/msm: Pass the correct aperture end to drm_mm_init 2018-02-20 10:41:22 -05:00
msm_gpu.c drm/msm/gpu: Allocate the correct size for the GPU memptrs 2018-12-11 13:05:27 -05:00
msm_gpu.h drm/msm: re-factor devfreq code 2018-10-04 09:14:20 -04:00
msm_iommu.c
msm_kms.h drm/msm: Cut dpu_kms hooks from msm_pm_suspend/resume 2018-12-11 12:51:27 -05:00
msm_mmu.h
msm_perf.c
msm_rd.c drm/msm/rd: fix crash with long process cmdlines 2018-10-03 20:24:54 -04:00
msm_ringbuffer.c drm/msm: Replace gem_object deprecated functions 2018-02-20 10:41:21 -05:00
msm_ringbuffer.h drm/msm/gpu: Add per-submission statistics 2018-12-11 13:05:28 -05:00
msm_submitqueue.c drm/msm: Support multiple ringbuffers 2017-10-28 11:01:36 -04:00
NOTES