提交 97b6eaee 编写于 作者: G George Shen 提交者: Zheng Zengkai

drm/amd/display: Fix DPCD translation for LTTPR AUX_RD_INTERVAL

stable inclusion
from stable-5.10.17
commit 7963f3ff8eddea42c3510a5cde0250e8cce017d6
bugzilla: 48169

--------------------------------

[ Upstream commit 2b6b7ab4 ]

[Why]
The translation between the DPCD value and the specified AUX_RD_INTERVAL
in the DP spec do not match.

[How]
Update values to match the spec.
Signed-off-by: NGeorge Shen <george.shen@amd.com>
Reviewed-by: NWenjing Liu <Wenjing.Liu@amd.com>
Acked-by: NAnson Jacob <Anson.Jacob@amd.com>
Tested-by: NDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 a95d9eff
......@@ -877,13 +877,13 @@ static uint32_t translate_training_aux_read_interval(uint32_t dpcd_aux_read_inte
switch (dpcd_aux_read_interval) {
case 0x01:
aux_rd_interval_us = 400;
aux_rd_interval_us = 4000;
break;
case 0x02:
aux_rd_interval_us = 4000;
aux_rd_interval_us = 8000;
break;
case 0x03:
aux_rd_interval_us = 8000;
aux_rd_interval_us = 12000;
break;
case 0x04:
aux_rd_interval_us = 16000;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册