aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHawking Zhang <[email protected]>2020-01-08 23:28:05 +0800
committerAlex Deucher <[email protected]>2020-01-14 10:18:08 -0500
commit5e62db9df684673f4ce7187c3c02e6a995c5cde9 (patch)
tree009fc4488581d46065bec241dec967689d3a03e4 /tools/perf/scripts/python/exported-sql-viewer.py
parent1dd5ead2940903b2cf36f6725f1d6670abd6f14b (diff)
drm/amdgpu: read sdma edc counter to clear the counters
SDMA edc counter registers were added in gfx edc counters array. When querying gfx error counter in that array, there is no way to differentiate sdma instance number for different asic and then results to NULL pointer access when trying to read sdma register base address for instances greater than 2 on Vega20. In addition, this also results to wrong gfx error counters since it actually added sdma edc counters. Therefore, sdma edc counter registers should be separated from gfx edc counter regsiter array and only get initialized when driver tries to enable sdma ras. Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions