disp: msm: dsi: add support for dsi dynamic clock switch
This change adds support for dynamic switching of dsi clocks to avoid RF interference issues. Also with dynamic dsi clock switch feature coming into picture, now populate the supported refresh rate as list instead of providing a range. Modify the logic to enumerate all the modes in dsi driver, taking dynamic bit clocks, resolutions and refresh rates into account. Change-Id: I5b6e62bc935cf2234bdd96fcb3c7537b4e735fff Signed-off-by: Sandeep Panda <spanda@codeaurora.org> Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org> Signed-off-by: Yujun Zhang <yujunzhang@codeaurora.org>
This commit is contained in:
@@ -430,8 +430,9 @@ static bool sde_crtc_mode_fixup(struct drm_crtc *crtc,
|
||||
SDE_DEBUG("\n");
|
||||
|
||||
if ((msm_is_mode_seamless(adjusted_mode) ||
|
||||
msm_is_mode_seamless_vrr(adjusted_mode)) &&
|
||||
(!crtc->enabled)) {
|
||||
(msm_is_mode_seamless_vrr(adjusted_mode) ||
|
||||
msm_is_mode_seamless_dyn_clk(adjusted_mode))) &&
|
||||
(!crtc->enabled)) {
|
||||
SDE_ERROR("crtc state prevents seamless transition\n");
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user