diff options
author | 2020-11-03 10:30:13 +0100 | |
---|---|---|
committer | 2020-11-09 09:19:45 +0100 | |
commit | a85955568939e20e573cf42095d90c8476c9cec1 (patch) | |
tree | d0e49d4349651ea4f7d6b0d0b338cc6d7aa76e9f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/gem: Update internal GEM vmap/vunmap interfaces to use struct dma_buf_map (diff) | |
download | wireguard-linux-a85955568939e20e573cf42095d90c8476c9cec1.tar.xz wireguard-linux-a85955568939e20e573cf42095d90c8476c9cec1.zip |
drm/gem: Store client buffer mappings as struct dma_buf_map
Kernel DRM clients now store their framebuffer address in an instance
of struct dma_buf_map. Depending on the buffer's location, the address
refers to system or I/O memory.
Callers of drm_client_buffer_vmap() receive a copy of the value in
the call's supplied arguments. It can be accessed and modified with
dma_buf_map interfaces.
v6:
* don't call page_to_phys() on framebuffers in I/O memory;
warn instead (Daniel)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201103093015.1063-9-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions