diff options
| author | Yi Li <[email protected]> | 2021-05-14 14:40:39 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-05-19 22:37:53 -0400 |
| commit | ea46eaf26c6ce1232647fe2eab8046a85cc4f05b (patch) | |
| tree | 9694942bf479b06fbfeeff7f6ec5d6968fc03372 /tools/perf/scripts/python | |
| parent | 765385ec00a94382b509c75867e2a40fa599a26d (diff) | |
drm/amdgpu: Fix GPU TLB update error when PAGE_SIZE > AMDGPU_PAGE_SIZE
When PAGE_SIZE is larger than AMDGPU_PAGE_SIZE, the number of GPU TLB
entries which need to update in amdgpu_map_buffer() should be multiplied
by AMDGPU_GPU_PAGES_IN_CPU_PAGE (PAGE_SIZE / AMDGPU_PAGE_SIZE).
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Yi Li <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions