diff options
author | 2024-08-07 11:05:21 +0100 | |
---|---|---|
committer | 2024-08-21 15:28:33 +0200 | |
commit | 255fc1703e42321b5afdedc8259ad03c7cc533ec (patch) | |
tree | bb468d4280bad6b1731df269a4b69b9fca20aa1f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gem: Do not look for the exact address in node (diff) | |
download | linux-rng-255fc1703e42321b5afdedc8259ad03c7cc533ec.tar.xz linux-rng-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 <andi.shyti@linux.intel.com>
Cc: Chris Wilson <chris.p.wilson@linux.intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240807100521.478266-3-andi.shyti@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions