diff options
author | Thomas Zimmermann <[email protected]> | 2021-01-18 15:46:39 +0100 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2021-01-19 15:37:14 +0100 |
commit | abbc4d6ecd07fa246fd597b5d8fced28f0bcc606 (patch) | |
tree | 46789b651e3099d7be430738fbd231266eda9056 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 43b67309b6b2a3c08396cc9b3f83f21aa529d273 (diff) |
drm/vram-helper: Reuse existing page mappings in vmap
For performance, BO page mappings can stay in place even if the
map counter has returned to 0. In these cases, the existing page
mapping has to be reused by the next vmap operation. Otherwise
a new mapping would be installed and the old mapping's pages leak.
Fix the issue by reusing existing page mappings for vmap operations.
Signed-off-by: Thomas Zimmermann <[email protected]>
Fixes: 1086db71a1db ("drm/vram-helper: Remove invariant parameters from internal kmap function")
Acked-by: Christian König <[email protected]>
Tested-by: Eli Cohen <[email protected]>
Reported-by: Eli Cohen <[email protected]>
Reported-by: kernel test robot <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Christian König <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions