[PATCH 0/5] drm/mgag200: Handle BMC in dedicated VGA output
Thomas Zimmermann
tzimmermann at suse.de
Mon Aug 5 13:05:56 UTC 2024
Add a separate output for VGA connectors with BMC support. Convert
code for server models. Keep the original VGA for regular G200 models.
The VGA-BMC output either reports the connected VGA display or, if
that is not available, the BMC. Makes the BMC connector obsolete, so
remove it.
The benefit of the VGA-BMC connector is that is works with any
userspace. Most userspace compositors have problems configuring the
current BMC connector. The BMC connector is now gone and only a
VGA connector is present.
A different approach to removing the BMC connector has been tried in
[1]. The new series also picks up an idea from an older series, [2]
where BMC support is entirely transparent to the CRTC.
[1] https://patchwork.freedesktop.org/series/136084/
[2] https://patchwork.freedesktop.org/series/135931/
Thomas Zimmermann (5):
drm/mgag200: Add VGA-BMC output
drm/mgag200: vga-bmc: Transparently handle BMC
drm/mgag200: vga-bmc: Control CRTC VIDRST flag from encoder
drm/mgag200: vga-bmc: Control BMC scanout from encoder
drm/mgag200: Remove BMC output
drivers/gpu/drm/mgag200/Makefile | 1 +
drivers/gpu/drm/mgag200/mgag200_bmc.c | 102 --------------
drivers/gpu/drm/mgag200/mgag200_drv.h | 13 +-
drivers/gpu/drm/mgag200/mgag200_g200eh.c | 6 +-
drivers/gpu/drm/mgag200/mgag200_g200eh3.c | 6 +-
drivers/gpu/drm/mgag200/mgag200_g200er.c | 9 +-
drivers/gpu/drm/mgag200/mgag200_g200ev.c | 9 +-
drivers/gpu/drm/mgag200/mgag200_g200ew3.c | 6 +-
drivers/gpu/drm/mgag200/mgag200_g200se.c | 9 +-
drivers/gpu/drm/mgag200/mgag200_g200wb.c | 6 +-
drivers/gpu/drm/mgag200/mgag200_mode.c | 9 --
drivers/gpu/drm/mgag200/mgag200_vga_bmc.c | 156 ++++++++++++++++++++++
12 files changed, 167 insertions(+), 165 deletions(-)
create mode 100644 drivers/gpu/drm/mgag200/mgag200_vga_bmc.c
--
2.46.0
More information about the dri-devel
mailing list