diff options
| author | YuBiao Wang <[email protected]> | 2021-06-29 11:21:25 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-07-08 15:12:36 -0400 |
| commit | 5af4438f1e830d090183c5f329d2ddbb09f3a5ee (patch) | |
| tree | b1511e9888a6a1bebaa4137423ae95e0d9c62d2d /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 51627f03804173a64d23828bc9e4d8474451814f (diff) | |
drm/amdgpu: Read clock counter via MMIO to reduce delay (v5)
[Why]
GPU timing counters are read via KIQ under sriov, which will introduce
a delay.
[How]
It could be directly read by MMIO.
v2: Add additional check to prevent carryover issue.
v3: Only check for carryover for once to prevent performance issue.
v4: Add comments of the rough frequency where carryover happens.
v5: Remove mutex and gfxoff ctrl unused with current timing registers.
Signed-off-by: YuBiao Wang <[email protected]>
Acked-by: Horace Chen <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Monk Liu <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Reviewed-by: Luben Tuikov <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions