aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
diff options
context:
space:
mode:
authorYi Li <liyi@loongson.cn>2021-05-14 14:40:39 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-05-19 22:37:53 -0400
commitea46eaf26c6ce1232647fe2eab8046a85cc4f05b (patch)
tree9694942bf479b06fbfeeff7f6ec5d6968fc03372 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
parentdrm/amdkfd: heavy-weight flush TLB after unmap (diff)
downloadwireguard-linux-ea46eaf26c6ce1232647fe2eab8046a85cc4f05b.tar.xz
wireguard-linux-ea46eaf26c6ce1232647fe2eab8046a85cc4f05b.zip
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 <christian.koenig@amd.com> Signed-off-by: Yi Li <liyi@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
0 files changed, 0 insertions, 0 deletions