summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-09-20 22:43:44 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-10-03 17:11:01 +0300
commitbd5520273cea125698f97bc4dd6152cccdbe6b19 (patch)
tree395defe4f3cc203359f2475559c55d3ff76d32d1 /tools/perf/scripts/python
parentd1249aae81e922845a61052230e57c18c61aa183 (diff)
downloadlinux-bd5520273cea125698f97bc4dd6152cccdbe6b19.tar.xz
drm/amdgpu/atomfirmware: use proper index for querying vram type (v3)
The index is stored in scratch register 4 after asic init. Use that index. No functional change since all asics in a family use the same type of vram (G5, G6, HBM) and that is all we use at the monent, but if we ever need to query other info, we will now have the proper index. v2: module array is variable sized, handle that. v3: fix off by one in array handling Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions