diff options
author | Wang, Beyond <Wang.Beyond@amd.com> | 2023-12-12 21:03:04 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-14 15:25:48 -0500 |
commit | 94aeb4117343d072e3a35b9595bcbfc0058ee724 (patch) | |
tree | c6dedeedd6d1da8bd690e6ac4f92f241ace80282 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f81996637000a050477d597ef99e832079f99bd2 (diff) |
drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap
Issue: during evict or validate happened on amdgpu_bo, the 'from' and
'to' is always same in ftrace event of amdgpu_bo_move
where calling the 'trace_amdgpu_bo_move', the comment says move_notify
is called before move happens, but actually it is called after move
happens, here the new_mem is same as bo->resource
Fix: move trace_amdgpu_bo_move from move_notify to amdgpu_bo_move
Signed-off-by: Wang, Beyond <Wang.Beyond@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions