commit | c0001213d195d1bac83e0744c06ff06dd5a8ba53 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Tue Jul 28 14:27:04 2020 -0400 |
committer | Christian König <christian.koenig@amd.com> | Thu Jul 30 13:55:28 2020 +0200 |
tree | 7feaaa214e191a389cd34a4e8026bad1c15f3d84 | |
parent | f4a1692491b5cce8978cea19cb8946bc2c6f14bc [diff] |
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 <Felix.Kuehling@amd.com> Tested-by: Laurent Morichetti <laurent.morichetti@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/381169/