aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
diff options
context:
space:
mode:
authorAndi Shyti <[email protected]>2024-08-07 10:05:21 +0000
committerAndi Shyti <[email protected]>2024-08-21 13:28:33 +0000
commit255fc1703e42321b5afdedc8259ad03c7cc533ec (patch)
treebb468d4280bad6b1731df269a4b69b9fca20aa1f /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
parentdrm/i915/gem: Do not look for the exact address in node (diff)
downloadkernel-255fc1703e42321b5afdedc8259ad03c7cc533ec.tar.gz
kernel-255fc1703e42321b5afdedc8259ad03c7cc533ec.zip
drm/i915/gem: Calculate object page offset for partial memory mapping
To enable partial memory mapping of GPU virtual memory, it's necessary to introduce an offset to the object's memory (obj->mm.pages) scatterlist. This adjustment compensates for instances when userspace mappings do not start from the beginning of the object. Based on a patch by Chris Wilson. Signed-off-by: Andi Shyti <[email protected]> Cc: Chris Wilson <[email protected]> Cc: Lionel Landwerlin <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions