[RK3588-Android12] Uboot-Logo引起的 HDMI第一次开机无声音问题

问题描述

DTS默认配置为hdmi0_sound走i2s5_8ch,hdmi1_sound走i2s6_8ch,双路HDMI图像正常显示,正常进入系统。但HDMI为插入状态开机,则开机后HDMI1或者HDMID0都无声音输出。需要拔插一次HDMI后才会出声音。

解决办法

@+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
@@ -1716,6 +1716,14 @@ dw_hdmi_connector_detect(struct drm_connector *connector, bool force)
                else
                        result = connector_status_disconnected;
        }
+    mutex_lock(&hdmi->mutex);
+    if (result != hdmi->last_connector_result) {
+        dev_dbg(hdmi->dev, "read_hpd result: %d", result);
+        extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, result == connector_status_connected);
+        handle_plugged_change(hdmi,result == connector_status_connected);
+        hdmi->last_connector_result = result;
+    }
+    mutex_unlock(&hdmi->mutex);


  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值