linux/drivers/gpu/drm/clients
Thomas Zimmermann 4e089d048a drm/client: Add acquire_outputs callback; implement for fbdev emulation
Add the callback acquire_outputs to drm_client_funcs to inform an internal
DRM client that vga-switcheroo is about to switch the physical outputs to
the client's device. Allows the client to prepare its internal state for
the upcoming switch.

Wire up the DRM client helpers to invoke the helper for a device's
clients.

Implement acquire_outputs for fbdev emulation. Invoke fb_switch_outputs(),
which remaps framebuffers to virtual terminals in fbcon. Currently this
is still being done by vga-switcheroo. With more DRM clients becoming
available, vga-switcheroo needs to become client agonostic.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Maxime Ripard <mripard@kernel.org>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patch.msgid.link/20260709092215.168172-3-tzimmermann@suse.de
2026-09-11 16:52:43 +02:00
..
drm_client_internal.h drm/log: Introduce a new boot logger to draw the kmsg on the screen 2024-12-10 14:36:53 +01:00
drm_client_setup.c drm/client: fix MODULE_PARM_DESC string for "active" 2025-11-13 14:15:24 +01:00
drm_fbdev_client.c drm/client: Add acquire_outputs callback; implement for fbdev emulation 2026-09-11 16:52:43 +02:00
drm_log.c Merge drm/drm-next into drm-misc-next 2026-08-31 09:01:06 +02:00
Kconfig drm/log: select CONFIG_FONT_SUPPORT 2024-12-12 18:26:32 +01:00
Makefile drm/log: Introduce a new boot logger to draw the kmsg on the screen 2024-12-10 14:36:53 +01:00