summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c
diff options
context:
space:
mode:
authorEric Huang <jinhuieric.huang@amd.com>2021-05-29 18:34:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-06-01 22:55:39 -0400
commitf0e0687cf6d91aa99787dcefd7214ca782da51a7 (patch)
tree915d1620e23ff1726a896a21c7160c7a38ecd425 /drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c
parentba809007f216ede9b25624d0420b6227b285e497 (diff)
drm/amdgpu: Fix a bug on flag table_freed
table_freed will be always true when mapping a memory with size bigger than 2MB. The problem is page table's entries are always existed, but existing mapping depends on page talbe's bo, so using a check of page table's bo existed will resolve the issue. Signed-off-by: Eric Huang <jinhuieric.huang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c')
0 files changed, 0 insertions, 0 deletions