aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
diff options
context:
space:
mode:
authorYi Li <[email protected]>2021-05-14 06:40:39 +0000
committerAlex Deucher <[email protected]>2021-05-19 22:01:51 +0000
commitd53751568359e5b3ffb859b13cbd79dc77a571f1 (patch)
treeb613322faa75c231e77fbce84a128551bf95825c /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
parentdrm/radeon: use the dummy page for GART if needed (diff)
downloadkernel-d53751568359e5b3ffb859b13cbd79dc77a571f1.tar.gz
kernel-d53751568359e5b3ffb859b13cbd79dc77a571f1.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 <[email protected]> Signed-off-by: Yi Li <[email protected]> Signed-off-by: Huacai Chen <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
0 files changed, 0 insertions, 0 deletions