]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fb-helper: Separate shadow-buffer flushing and calling dirty callback
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 20 Nov 2020 10:25:41 +0000 (11:25 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 24 Nov 2020 08:27:55 +0000 (09:27 +0100)
commit9d9271d4fad83badf0f29ef5c710d8b651ed6ab1
tree972ae97b59fc02fd02796da9342d1fce413cd977
parentc8eeefa1ae8d74cec540dd579de4fc439d3c3954
drm/fb-helper: Separate shadow-buffer flushing and calling dirty callback

Flushing the shadow framebuffer and invoking the dirty callback are two
separate operations, so do them separately. The flush operation is paired
with calls to vmap and vunmap. They are not needed for the dirty callback,
which performs its own invocations if necessary.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201120102545.4047-7-tzimmermann@suse.de
drivers/gpu/drm/drm_fb_helper.c