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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
2.45.2




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux