aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorYifan Zha <[email protected]>2022-07-27 14:43:32 +0800
committerAlex Deucher <[email protected]>2022-09-01 15:11:45 -0400
commit40ad3e545b3da75f107450d32bcad8346fce5dcc (patch)
treece54f4ec16792fa24abaa77ff09d45064152e703 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent5818eae501c57e003de9e4f52a6001827e123a88 (diff)
drm/amdgpu: Skip the VRAM base offset on SRIOV
[Why] As VF cannot read MMMC_VM_FB_OFFSET with L1 Policy(read 0xffffffff). It leads to driver get the incorrect vram base offset. [How] Since SR-IOV is dGPU only, skip reading this register and set the fb_offest to 0. Acked-by: Christian König <[email protected]> Signed-off-by: Yifan Zha <[email protected]> Signed-off-by: Horace Chen <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions