diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-08-05 15:06:00 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-08-09 08:13:47 +0200 |
commit | 0f9ff361ad823b887cfb09dd78ecc8f25d32ecfa (patch) | |
tree | 0828ba1c89b5bb13c2172a2c3f3d870ef9a76f33 /drivers/gpu/drm/mgag200/mgag200_g200wb.c | |
parent | 9d09cac47de5358ace64dddd14278fea002e68c3 (diff) | |
download | lwn-0f9ff361ad823b887cfb09dd78ecc8f25d32ecfa.tar.gz lwn-0f9ff361ad823b887cfb09dd78ecc8f25d32ecfa.zip |
drm/mgag200: vga-bmc: Control BMC scanout from encoder
Move calls to stop and start BMC scanout from CRTC helpers to the
VGA-BMC encoder's atomic_disable and atomic_enable. Makes the BMC
scanout transparent to the CRTC.
DRM's atomic helpers call an encoder's atomic_disable and atomic_enable
helpers for all enabled encoders. The BMC stops scanning out the VGA
signal if modeset disables the VGA encoder, and starts scanning out
if the modeset enables the VGA encoder.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240805130622.63458-5-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/mgag200/mgag200_g200wb.c')
0 files changed, 0 insertions, 0 deletions