diff options
author | Felix Kuehling <[email protected]> | 2020-07-28 14:27:04 -0400 |
---|---|---|
committer | Christian König <[email protected]> | 2020-07-30 13:55:28 +0200 |
commit | c0001213d195d1bac83e0744c06ff06dd5a8ba53 (patch) | |
tree | 7feaaa214e191a389cd34a4e8026bad1c15f3d84 /lib/memory-notifier-error-inject.c | |
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 <[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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions