现象:
在PCBA产测界面主板接HDMI无法显示
解决:
--- a/bootable/recovery/minui/graphics_drm.cpp
+++ b/bootable/recovery/minui/graphics_drm.cpp
@@ -240,10 +240,10 @@ drmModeConnector* MinuiBackendDrm::FindMainMonitor(int fd, drmModeRes* resources
uint32_t* mode_index) {
/* Look for LVDS/eDP/DSI connectors. Those are the main screens. */
static constexpr unsigned kConnectorPriority[] = {
+ DRM_MODE_CONNECTOR_HDMIA,
DRM_MODE_CONNECTOR_LVDS,
DRM_MODE_CONNECTOR_eDP,
DRM_MODE_CONNECTOR_DSI,
- DRM_MODE_CONNECTOR_HDMIA,
};