diff options
author | keith.zhao <keith.zhao@starfivetech.com> | 2023-05-26 13:37:34 +0300 |
---|---|---|
committer | Andy Hu <andy.hu@starfivetech.com> | 2023-05-29 14:46:55 +0300 |
commit | 552991a93f75fa46f5ccf35345212daae3bd2fbd (patch) | |
tree | 8f8018437eca5ad5f4c5e0ab8dc44e469ab09520 | |
parent | f2b2bb30aa09dc776b2ed1ef748df7c003f5af35 (diff) | |
download | linux-552991a93f75fa46f5ccf35345212daae3bd2fbd.tar.xz |
riscv:linux:vout:hdmi
after wake up hdmi , need wait 500ms to read the hdmi connect status
or it will read a error value
Signed-off-by: keith <keith.zhao@starfivetech.com>
-rwxr-xr-x | drivers/gpu/drm/verisilicon/inno_hdmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/verisilicon/inno_hdmi.c b/drivers/gpu/drm/verisilicon/inno_hdmi.c index d690d6a09876..66a2627462da 100755 --- a/drivers/gpu/drm/verisilicon/inno_hdmi.c +++ b/drivers/gpu/drm/verisilicon/inno_hdmi.c @@ -660,6 +660,7 @@ inno_hdmi_connector_detect(struct drm_connector *connector, bool force) ret = pm_runtime_get_sync(hdmi->dev); if (ret < 0) return ret; + mdelay(500); ret = (hdmi_readb(hdmi, HDMI_STATUS) & m_HOTPLUG) ? connector_status_connected : connector_status_disconnected; |