diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-11-03 12:30:13 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-11-09 11:19:45 +0300 |
commit | a85955568939e20e573cf42095d90c8476c9cec1 (patch) | |
tree | d0e49d4349651ea4f7d6b0d0b338cc6d7aa76e9f /lib/test_debug_virtual.c | |
parent | a745fb1c26d3802caad532a4675f43a661f01fa6 (diff) | |
download | linux-a85955568939e20e573cf42095d90c8476c9cec1.tar.xz |
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 'lib/test_debug_virtual.c')
0 files changed, 0 insertions, 0 deletions