本文作者:AMD 工程师 Nathan Xu
最新的 DisplayPort TX/RX 1.4 Subsystem IP v3.1 支持 eDP v1.4b,支持下面的 eDP features:
Reduced Aux timing because the Aux sync pattern is reduced from 8 pulses to 16 pulses
Alternate Scrambler Seed Reset (ASSR)
Enhanced Framing
Fast link training
Black video
Backlight control by way of Aux
用户可以在 DisplayPort RX Subsystem IP GUI 设置“Enable eDP”。
或者可以用下面的 TCL 命令使能 eDP。
set_property -dict [list CONFIG.EDP_ENABLE {true}] [get_bd_cells v_dp_rxss1_0]
eDP 与 DisplayPort 1.4使用相同的硬件(connector, FMC/PCB, pinouts)。
eDP -> fast link training:
按照 eDP spec 要求, “Fast link training”必须支持。根据协议里“Fast link training”的定义,在 DP cable 连接上之后, 第一次 Training 是“Full link training”(也就是 DP 协议定义的使用 AUX 接口通信的 Normal training),在后面的 eDP training,AUX transactions 不需要。 AMD DisplayPort 1.4 支持这样的 eDP “Fast link training”, 还有一些其他形式的 eDP training,比如不需要“Full link training” 的 Aux Less training,这不是协议要求的必须支持, AMD DisplayPort 1.4 IP 不支持这样的 Training。
eDP example design:
目前没有 eDP 的 Example design,但是, 你可以产生 DisplayPort 1.4 的 Example design, 然后在该 Example design 使能 eDP,我们在 ZCU102 做过这样的测试,eDP 可以工作。
ZCU102:
https://www.amd.com/en/products/adaptive-socs-and-fpgas/evaluation-boards/ek-u1-zcu102-g.html
eDP AUX Sync pulse 设置:
我们看到,AMD 的 DisplayPort 1.4 TX IP 在配置为 eDP 时,不能读取某些 eDP monitor 的 RX DPCD,导致 Training 失败。
有些 eDP monitor 对 AUX pulses 的要求是,AUX SYNC 应该是 16 cycles(8 preamble 0s + 4 cycles of High + 4 cycles of Low)。
下面是协议上 AUX pulses 的要求。AUX_SYNC = 24 cycles (16 preamble 0s + 4 cycles of High + 4 cycles of Low), 如下:
AMD 的 DP 1.4 IP 对 AUX pulses 的要求是 AUX_SYNC = 24 cycles。如果看到 AUX 读取失败,可以调整下面 DP 1.4 TX 的寄存器(地址是0x02C),把16改为8。这样能解决 AUX Sync pulse 不一致的问题。
Address offset : 0x02C
[4:0] - sync_pulses_request
[12:8] - sync_pulses_reply
全部0条评论
快来发表一下你的评论吧 !