mbox series

[v2,0/3] drm/mgag200: Detect connector status

Message ID 20240610141141.29527-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series drm/mgag200: Detect connector status | expand

Message

Thomas Zimmermann June 10, 2024, 2:06 p.m. UTC
Detect the connector status by polling the DDC. Update the status at
runtime. Add a dedicated BMC output to still display to the BMC while
the VGA connector is not attached.

This patchset fixes a long-standing problem where attaching the VGA
display a runtime resulted in incorrect display modes.

Tested on various Matrox hardware.

v2:
- move the DDC clean up into a separate patchset [1]
- add dedicated BMC support (Jocelyn)

[1] https://patchwork.freedesktop.org/series/133537/

Thomas Zimmermann (3):
  drm/mgag200: Consolidate VGA output
  drm/mgag200: Add BMC output
  drm/mgag200: Set .detect_ctx() and enable connector polling

 drivers/gpu/drm/mgag200/Makefile          |   3 +-
 drivers/gpu/drm/mgag200/mgag200_bmc.c     | 107 ++++++++++++++++++++++
 drivers/gpu/drm/mgag200/mgag200_drv.h     |  34 ++++---
 drivers/gpu/drm/mgag200/mgag200_g200.c    |  47 +---------
 drivers/gpu/drm/mgag200/mgag200_g200eh.c  |  47 +---------
 drivers/gpu/drm/mgag200/mgag200_g200eh3.c |  47 +---------
 drivers/gpu/drm/mgag200/mgag200_g200er.c  |  47 +---------
 drivers/gpu/drm/mgag200/mgag200_g200ev.c  |  47 +---------
 drivers/gpu/drm/mgag200/mgag200_g200ew3.c |  47 +---------
 drivers/gpu/drm/mgag200/mgag200_g200se.c  |  47 +---------
 drivers/gpu/drm/mgag200/mgag200_g200wb.c  |  47 +---------
 drivers/gpu/drm/mgag200/mgag200_vga.c     |  72 +++++++++++++++
 12 files changed, 238 insertions(+), 354 deletions(-)
 create mode 100644 drivers/gpu/drm/mgag200/mgag200_vga.c


base-commit: 2bea08bd31298d60d416b2a6ed346bb53dd28037