aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorØrjan Eide <[email protected]>2018-01-30 21:28:33 +0100
committerHeiko Stuebner <[email protected]>2018-02-18 11:16:55 +0100
commit57de50af162b67612da99207b061ade3239e57db (patch)
tree0487d270d8cf88ee6f49bbe5bc55489e7d59982f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent6fd0bfe2f7ea1a5828c44b8d8811820bf7be13a9 (diff)
drm/rockchip: Respect page offset for PRIME mmap calls
When mapping external DMA-bufs through the PRIME mmap call, we might be given an offset which has to be respected. However for the internal DRM GEM mmap path, we have to ignore the fake mmap offset used to identify the buffer only. Currently the code always zeroes out vma->vm_pgoff, which breaks the former. This patch fixes the problem by moving the vm_pgoff assignment to a function that is used only for GEM mmap path, so that the PRIME path retains the original offset. Cc: Daniel Kurtz <[email protected]> Signed-off-by: Ørjan Eide <[email protected]> Signed-off-by: Tomasz Figa <[email protected]> Signed-off-by: Sean Paul <[email protected]> Signed-off-by: Thierry Escande <[email protected]> Tested-by: Heiko Stuebner <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions