]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: fbdev: Move custom restore code to new callback
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 12 Dec 2024 17:08:46 +0000 (18:08 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Wed, 5 Mar 2025 20:48:49 +0000 (21:48 +0100)
commit2ef5754c9649151ce438c9b30ec720840762d2a2
tree66302e460b71c0b96b9004b2270444a63bd6245b
parentf4e43719d026696f4f20a420eadf67e3f55729b6
drm/i915/display: fbdev: Move custom restore code to new callback

i915's fbdev contains code for restoring the client's framebuffer. It
is specific to i195 and cannot be ported to the common fbdev client.

Introduce the callback struct drm_fb_helper.fb_restore and implement
it for i915. The fbdev helpers invoke the callback after restoring the
fbdev client.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241212170913.185939-6-tzimmermann@suse.de
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/i915/display/intel_fbdev.c
include/drm/drm_fb_helper.h