OSDN Git Service

drm/fb-helper: Export helpers for marking damage areas
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 30 May 2023 15:12:25 +0000 (17:12 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 1 Jun 2023 10:41:40 +0000 (12:41 +0200)
commitc51b36207c04bad501ddd47a3d3fe0dbfd611474
treeccb55f3782f79a9a4398242e09dab79e3252fa34
parente1d49d763eaadce0332add0d60e5a73eaa08d8fe
drm/fb-helper: Export helpers for marking damage areas

Export drm_fb_helper_damage() and drm_fb_helper_damage_range(), which
handle damage areas for fbdev emulation. This is a temporary export
that allows to move the DRM I/O helpers for fbdev into drivers. Only
fbdev-generic and i915 need them. Both will be updated to implement
damage handling by themselves and the exported functions will be removed.

v4:
* update interfaces

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230530151228.22979-11-tzimmermann@suse.de
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_fb_helper.h