sunxi: video: Fallback from HDMI to VGA on boards with VGA
Subsystems (2)
PATCH v2 1/1 sunxi: video: Fallback from HDMI to VGA on boards with VGA
If a board has no LCD, but does have VGA fallback to VGA when no HDMI cable is connected (unless hpd=0).
Signed-off-by Hans de Goede <[email protected]>
---
Changes in v2:
-Fix missing "break;" in v1 which caused hdmi output to no longer work
--- doc/README.video | 3 +-- drivers/video/sunxi_display.c | 51 ++++++++++++++++++++++++------------------- 2 files changed, 30 insertions(+), 24 deletions(-)
doc/README.video +1 -2
@@ -50,8 +50,7 @@ The sunxi u-boot driver supports the following video-mode options: - hpd=[0|1] - Enable use of the hdmi HotPlug Detect feature 0: Disabled. Configure dvi/hdmi output even if no cable is detected - 1: Enabled. If a LCD has been configured fallback to the LCD when no cable is - detected, if no LCD is configured, disable video ouput. + 1: Enabled. Fallback to the lcd / vga / none in that order (if available) Defaults to hpd=1. - edid=[0|1] - Enable use of DDC + EDID to get monitor info
drivers/video/sunxi_display.c +29 -22
65 lines not on this page · raw message
Signature · 1 line
2.1.0
PATCH v2 1/1 sunxi: video: Fallback from HDMI to VGA on boards with VGA
Quoted 4 lines · Hans de Goede
If a board has no LCD, but does have VGA fallback to VGA when no HDMI cable is connected (unless hpd=0).
Signed-off-by Hans de Goede <[email protected]>
Acked-by Ian Campbell <[email protected]>