summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2020-11-17 15:51:29 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-03-23 22:55:20 -0400
commit3de60d961cec972afabe9208f51731659201a000 (patch)
tree47f6da71962afe2648705175e954c68a88eceb3b /tools/perf/scripts/python/flamegraph.py
parent063a1e83413996063790cfa4d17690a4b86eaa8e (diff)
downloadlinux-3de60d961cec972afabe9208f51731659201a000.tar.gz
linux-3de60d961cec972afabe9208f51731659201a000.zip
drm/amdgpu: use physical_node_id to calculate aper_base
Similar as xgmi connected gpu nodes, physical_node_id * segment_size should be used to calculate the offset of aper_base. The asic type check is redundant. once physical_node_id and segment_size are initialized, it should be count on. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions