mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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:
parent
7c4ab87985
commit
d4c2d70e14
1 changed files with 3 additions and 2 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue