diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-11-03 10:30:13 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-11-09 09:19:45 +0100 |
commit | a85955568939e20e573cf42095d90c8476c9cec1 (patch) | |
tree | d0e49d4349651ea4f7d6b0d0b338cc6d7aa76e9f /include/drm/drm_format_helper.h | |
parent | a745fb1c26d3802caad532a4675f43a661f01fa6 (diff) | |
download | linux-a85955568939e20e573cf42095d90c8476c9cec1.tar.gz |
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 'include/drm/drm_format_helper.h')
0 files changed, 0 insertions, 0 deletions