summaryrefslogtreecommitdiff
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2022-10-06 11:53:49 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2022-10-07 13:46:37 +0200
commitfcc21447c79816b40feddfc707006e9c72f3445e (patch)
tree380033fb69c33f37477da9f0ba7259854f3cdef8 /lib/dump_stack.c
parentca2bd373eb6632d5c37323755030fea6364937d0 (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 <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221006095355.23579-11-tzimmermann@suse.de
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions