diff options
| author | Thomas Zimmermann <[email protected]> | 2022-12-02 12:56:41 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2022-12-05 12:36:33 +0000 |
| commit | b5f636e63b807fdeba5d61260e5f6b24f6834f69 (patch) | |
| tree | d3f71b506e0b09c78a36e3f975337880d37b3ec6 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/mipi-dbi: Initialize default driver functions with macro (diff) | |
| download | kernel-b5f636e63b807fdeba5d61260e5f6b24f6834f69.tar.gz kernel-b5f636e63b807fdeba5d61260e5f6b24f6834f69.zip | |
drm/mipi-dbi: Prepare framebuffer copy operation in pipe-update helpers
Move the vmap/vunmap blocks from the inner fb_dirty helpers into the
MIPI DBI update helpers. The function calls can result in waiting and/or
processing overhead. Reduce the penalties by executing the functions once
in the outer-most function of the pipe update.
This change also prepares for MIPI DBI for shadow-plane helpers. With
shadow-plane helpers, transfer source buffers are mapped into kernel
address space automatically.
v2:
* keep each driver's existing buffer-mapping patter (Noralf)
* zero-initialize iosys_map arrays (Noralf)
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Noralf Trønnes <[email protected]>
Tested-by: Javier Martinez Canillas <[email protected]>
Tested-by: Noralf Trønnes <[email protected]> # drm/tiny/mi0283qt
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
