disp: msm: add changes missing during snapshots
This change ports the missing changes from 4.14 to 4.19 that were missed. It includes changes up until commit 0f8fb25421ff ("cnss2: Add device version to SOC info structure"). Change-Id: Idfdfe891f146e389e3c65cc3fc4c98d93220e789 Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include "sde_hw_catalog.h"
|
||||
#include "sde_hw_intf.h"
|
||||
#include "sde_dbg.h"
|
||||
#include "sde_kms.h"
|
||||
|
||||
#define INTF_TIMING_ENGINE_EN 0x000
|
||||
#define INTF_CONFIG 0x004
|
||||
@@ -45,6 +44,7 @@
|
||||
#define INTF_DEFLICKER_STRNG_COEFF 0x0F4
|
||||
#define INTF_DEFLICKER_WEAK_COEFF 0x0F8
|
||||
|
||||
#define INTF_REG_SPLIT_LINK 0x080
|
||||
#define INTF_DSI_CMD_MODE_TRIGGER_EN 0x084
|
||||
#define INTF_PANEL_FORMAT 0x090
|
||||
#define INTF_TPG_ENABLE 0x100
|
||||
@@ -294,6 +294,9 @@ static void sde_hw_intf_setup_timing_engine(struct sde_hw_intf *ctx,
|
||||
if (p->wide_bus_en)
|
||||
intf_cfg2 |= BIT(0);
|
||||
|
||||
if (ctx->cfg.split_link_en)
|
||||
SDE_REG_WRITE(c, INTF_REG_SPLIT_LINK, 0x3);
|
||||
|
||||
SDE_REG_WRITE(c, INTF_HSYNC_CTL, hsync_ctl);
|
||||
SDE_REG_WRITE(c, INTF_VSYNC_PERIOD_F0, vsync_period * hsync_period);
|
||||
SDE_REG_WRITE(c, INTF_VSYNC_PULSE_WIDTH_F0,
|
||||
@@ -370,6 +373,9 @@ static void sde_hw_intf_bind_pingpong_blk(
|
||||
else
|
||||
mux_cfg |= 0xf;
|
||||
|
||||
if (intf->cfg.split_link_en)
|
||||
mux_cfg = 0x60000;
|
||||
|
||||
SDE_REG_WRITE(c, INTF_MUX, mux_cfg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user