diff --git a/msm/sde/sde_crtc.c b/msm/sde/sde_crtc.c index 93a1f0b6..21e6698b 100644 --- a/msm/sde/sde_crtc.c +++ b/msm/sde/sde_crtc.c @@ -2288,7 +2288,8 @@ u32 sde_crtc_get_fps_mode(struct drm_crtc *crtc) } drm_for_each_encoder(encoder, crtc->dev) - if (encoder->crtc == crtc) + if ((encoder->crtc == crtc) + && !sde_encoder_in_cont_splash(encoder)) return sde_encoder_get_fps(encoder); return 0; @@ -3341,7 +3342,7 @@ static void sde_crtc_destroy_state(struct drm_crtc *crtc, SDE_DEBUG("crtc%d\n", crtc->base.id); - if (sde_kms && enc) + if (sde_kms && enc && !sde_encoder_in_cont_splash(enc)) sde_rm_release(&sde_kms->rm, enc, true); __drm_atomic_helper_crtc_destroy_state(state); diff --git a/pll/dp_pll_7nm_util.c b/pll/dp_pll_7nm_util.c index d3171253..5c565c85 100644 --- a/pll/dp_pll_7nm_util.c +++ b/pll/dp_pll_7nm_util.c @@ -694,7 +694,7 @@ unsigned long dp_vco_recalc_rate_7nm(struct clk_hw *hw, vco_rate = DP_VCO_HSCLK_RATE_8100MHZDIV1000; } - pr_debug("hsclk: sel=0x%x, div=0x%x; lclk: sel=%lu, div=%lu, rate=%lu\n", + pr_debug("hsclk: sel=0x%x, div=0x%x; lclk: sel=%u, div=%u, rate=%lu\n", hsclk_sel, hsclk_div, link_clk_divsel, link_clk_div, vco_rate); mdss_pll_resource_enable(dp_res, false); diff --git a/pll/hdmi_pll_28lpm.c b/pll/hdmi_pll_28lpm.c index 790d7e65..a0fba39c 100644 --- a/pll/hdmi_pll_28lpm.c +++ b/pll/hdmi_pll_28lpm.c @@ -276,8 +276,8 @@ static void hdmi_phy_pll_calculator_28lpm(unsigned long vco_rate, do_div(sdm_cfg2, int_ref_clk_freq); pr_debug("lf_cfg0 = 0x%x lf_cfg1 = 0x%x\n", lf_cfg0, lf_cfg1); - pr_debug("vco_cfg0 = 0x%x vco_cfg4 = 0x%x\n", vco_cfg0, vco_cfg4); - pr_debug("sdm_cfg0 = 0x%x sdm_cfg1 = 0x%x sdm_cfg2 = 0x%x\n", + pr_debug("vco_cfg0 = 0x%llx vco_cfg4 = 0x%llx\n", vco_cfg0, vco_cfg4); + pr_debug("sdm_cfg0 = 0x%llx sdm_cfg1 = 0x%llx sdm_cfg2 = 0x%llx\n", sdm_cfg0, sdm_cfg1, sdm_cfg2); refclk_cfg = MDSS_PLL_REG_R(pll_base, HDMI_PHY_PLL_REFCLK_CFG); @@ -500,7 +500,7 @@ unsigned long hdmi_vco_recalc_rate_28lpm(struct clk_hw *hw, if (hdmi_pll_res->vco_current_rate) { vco_rate = (unsigned long)hdmi_pll_res->vco_current_rate; - pr_debug("vco_rate=%ld\n", vco_rate); + pr_debug("vco_rate=%lld\n", vco_rate); return vco_rate; } @@ -521,7 +521,7 @@ unsigned long hdmi_vco_recalc_rate_28lpm(struct clk_hw *hw, mdss_pll_resource_enable(hdmi_pll_res, false); } - pr_debug("vco_rate = %ld\n", vco_rate); + pr_debug("vco_rate = %lld\n", vco_rate); return (unsigned long)vco_rate; }