diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2018-11-02 18:25:20 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-12-11 21:05:28 +0300 |
commit | 568692102b6ad52fae27bef66793bc2e5770e429 (patch) | |
tree | 5138d9f0d069084f08cf723426d8f45a7f50aeb2 /drivers/gpu/drm/msm/Makefile | |
parent | 93f7abf19dad2d0ad3c93597c87bbaff03218cb9 (diff) | |
download | linux-568692102b6ad52fae27bef66793bc2e5770e429.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/msm/Makefile')
0 files changed, 0 insertions, 0 deletions