Toybrick
标题:
请教HDMI TX输出配置
[打印本页]
作者:
chengdu-vision
时间:
2024-8-14 10:38
标题:
请教HDMI TX输出配置
我使用的是evm3588开发板。
在函数dw_hdmi_attach_properties里默认显示格式是MEDIA_BUS_FMT_YUV8_1X24,HDMI显示输出正常。
u64 color = MEDIA_BUS_FMT_YUV8_1X24;
即在函数dw_hdmi_attach_properties中
查询代码对应输出格式为:
hdmi->hdmi_output = RK_IF_FORMAT_YCBCR444;
hdmi->colordepth = 8;
现在修改为MEDIA_BUS_FMT_UYVY10_1X20
即在函数dw_hdmi_attach_properties中
u64 color = MEDIA_BUS_FMT_UYVY10_1X20;
即在函数dw_hdmi_attach_properties中查询代码对应输出格式为:
hdmi->hdmi_output = RK_IF_FORMAT_YCBCR422;
hdmi->colordepth = 10;
测试结果,HDMI匹配出错,不断的打印:
[ 16.519104] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[ 16.521326] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:2!
[ 17.052437] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[ 17.054427] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:2!
[ 17.585770] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[ 17.587611] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:2!
[ 18.119106] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[ 18.120583] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:2!
[ 18.652437] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[ 18.653762] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:2!
[ 19.185772] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[ 19.188056] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:2!
[ 19.719103] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[ 19.719394] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:2!
[ 20.252436] fdee0000.hdmirx-controller: Vertical Sync threshold reached interrupt 0x2
[ 20.254768] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal lock ok, i:2!
请教一下,怎么才能把8bit YUV444 输出模式修改为10 bitYUV422
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3