mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: display: Allow MDP clocks to use Max clock.
Allowing the MDP clock to use its Max clock in order to avoid the blt mode switch issues for both MDP mixers, as blt mode switch resulting in HW hung Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
This commit is contained in:
parent
8a7c73e5b9
commit
4c241bf133
2 changed files with 5 additions and 5 deletions
|
@ -246,7 +246,7 @@ static struct msm_bus_scale_pdata mdp_bus_scale_pdata = {
|
|||
|
||||
static struct msm_panel_common_pdata mdp_pdata = {
|
||||
.gpio = MDP_VSYNC_GPIO,
|
||||
.mdp_max_clk = 200000000,
|
||||
.mdp_max_clk = 266670000,
|
||||
.mdp_bus_scale_table = &mdp_bus_scale_pdata,
|
||||
.mdp_rev = MDP_REV_44,
|
||||
#ifdef CONFIG_MSM_MULTIMEDIA_USE_ION
|
||||
|
@ -427,7 +427,7 @@ static int mipi_dsi_panel_power(int on)
|
|||
PTR_ERR(reg_l8));
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
||||
reg_lvs6 = regulator_get(&msm_mipi_dsi1_device.dev, "dsi_iovcc");
|
||||
if (IS_ERR(reg_lvs6)) {
|
||||
pr_err("could not get 8921_lvs6, rc = %ld\n",
|
||||
|
@ -471,7 +471,7 @@ static int mipi_dsi_panel_power(int on)
|
|||
pr_err("set_optimum_mode l8 failed, rc=%d\n", rc);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
rc = regulator_set_optimum_mode(reg_l2, 100000);
|
||||
if (rc < 0) {
|
||||
pr_err("set_optimum_mode l2 failed, rc=%d\n", rc);
|
||||
|
@ -564,7 +564,7 @@ static int mipi_dsi_panel_power(int on)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ static struct clk *mdp_pclk;
|
|||
static struct clk *mdp_lut_clk;
|
||||
int mdp_rev;
|
||||
int mdp_iommu_split_domain;
|
||||
u32 mdp_max_clk = 200000000;
|
||||
u32 mdp_max_clk = 266670000;
|
||||
|
||||
static struct platform_device *mdp_init_pdev;
|
||||
static struct regulator *footswitch;
|
||||
|
|
Loading…
Reference in a new issue