diff options
author | Thomas Zimmermann <[email protected]> | 2022-10-06 11:53:49 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2022-10-07 13:46:37 +0200 |
commit | fcc21447c79816b40feddfc707006e9c72f3445e (patch) | |
tree | 380033fb69c33f37477da9f0ba7259854f3cdef8 /lib/mpi/mpiutil.c | |
parent | ca2bd373eb6632d5c37323755030fea6364937d0 (diff) |
drm/udl: Use damage iterator
Use a damage iterator to process damage areas individually. Merging
damage areas can result in large updates of unchanged framebuffer
regions. As USB is rather slow, it's better to process damage areas
individually and hence minimize USB-transfered data.
As part of the change, move drm_gem_fb_{begin,end}_cpu_access() into
the plane's atomic_update helper. To avoid overhead and intermediate
writers, we want to synchronize buffers and reserve access only once
before copying damage areas of the framebuffer.
v2:
* clarify commit message (Javier)
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions