disp: msm: dp: use updated pre-emphasis/voltage settings

Use updated settings for the DP controller versions above
v1.2.3.

Change-Id: I957071e81e0f7dfd149495df0a225301078aaf60
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
This commit is contained in:
Tatenda Chipeperekwa
2020-07-21 12:13:19 -07:00
parent 7c4ab87985
commit d4c2d70e14

View File

@@ -246,11 +246,12 @@ static void dp_catalog_ctrl_update_vx_px_v420(struct dp_catalog_ctrl *ctrl,
io_data = catalog->io->dp_ahb;
version = dp_read(DP_HW_VERSION);
DP_DEBUG("version: 0x%x\n", version);
/*
* For DP controller versions 1.2.3 and 1.2.4
* For DP controller versions >= 1.2.3
*/
if ((version == 0x10020003) || (version == 0x10020004)) {
if (version >= 0x10020003) {
if (high) {
value0 = dp_swing_hbr2_hbr3[v_level][p_level];
value1 = dp_pre_emp_hbr2_hbr3[v_level][p_level];