aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2020-07-28 18:27:04 +0000
committerChristian König <[email protected]>2020-07-30 11:55:28 +0000
commitc0001213d195d1bac83e0744c06ff06dd5a8ba53 (patch)
tree7feaaa214e191a389cd34a4e8026bad1c15f3d84 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentMerge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes (diff)
downloadkernel-c0001213d195d1bac83e0744c06ff06dd5a8ba53.tar.gz
kernel-c0001213d195d1bac83e0744c06ff06dd5a8ba53.zip
drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
VMAs with a pg_offs that's offset from the start of the vma_node need to adjust the offset within the BO accordingly. This matches the offset calculation in ttm_bo_vm_fault_reserved. Signed-off-by: Felix Kuehling <[email protected]> Tested-by: Laurent Morichetti <[email protected]> Signed-off-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/381169/
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions