OSDN Git Service

drm/fb-helper: Move dirty-fb update into helper function
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 15 Nov 2022 11:58:15 +0000 (12:58 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 16 Nov 2022 12:07:21 +0000 (13:07 +0100)
commit17d64f1570679400fa5d4b84ecda1a418a704304
tree75d4b6c2bafd3f8af1f201bf92a6db69c744065f
parentb1be5ba29374aaf45142eddef85ce6cfd54c16e8
drm/fb-helper: Move dirty-fb update into helper function

Move the dirty-fb update from the damage-worker callback into the
new helper drm_fb_helper_fb_dirty(), so that it can run outside the
damage worker. This change will help to remove the damage worker
entirely. No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20221115115819.23088-3-tzimmermann@suse.de
drivers/gpu/drm/drm_fb_helper.c