Toybrick

请教HDMI TX输出配置

chengdu-vision

新手上路

积分
26
楼主
发表于 2024-8-14 10:38:31    查看: 1090|回复: 0 | [复制链接]    打印 | 只看该作者
我使用的是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


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表