diff options
author | CQ Tang <[email protected]> | 2022-06-10 15:12:04 +0300 |
---|---|---|
committer | Matthew Auld <[email protected]> | 2022-06-22 11:17:13 +0100 |
commit | d976521a995a817007ae3f471ac22b93b1bd39f7 (patch) | |
tree | e7670b9ab2a6aeeb04cb94270716e7ef0ab1d484 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | afd5cb3907eaf43e4ca88c162b92143551f0323e (diff) |
drm/i915: extend i915_vma_pin_iomap()
In the future display might try call this with a normal smem object,
which doesn't require PIN_MAPPABLE underneath in order to CPU map the
pages (unlike stolen). Extend i915_vma_pin_iomap() to directly use
i915_gem_object_pin_map() for such cases.
This change was suggested by Chris P Wilson, that we pin
the smem with i915_gem_object_pin_map_unlocked().
v2 (jheikkil): Change i915_gem_object_pin_map_unlocked to
i915_gem_object_pin_map
Signed-off-by: CQ Tang <[email protected]>
Signed-off-by: Juha-Pekka Heikkila <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Jari Tahvanainen <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
[mauld: tweak commit message, plus minor checkpatch fix]
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