disp: msm: dsi: unify dynamic clk support for command mode
Currently the dynamic bit clock switch trigger for command mode is supported via sysfs node. This might lead to unnecessary race conditions, when dsi driver is enabling the dsi bit clock as part of commit and at the same time if bit rate change via sysfs happens. So make the trigger happens via kernel mode set call as done for video mode. Change-Id: I17acb408d2b6dbd6fa41994e56262e31e43d088b Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org> Signed-off-by: Yujun Zhang <yujunzhang@codeaurora.org>
This commit is contained in:
@@ -4057,7 +4057,9 @@ static void sde_crtc_enable(struct drm_crtc *crtc,
|
||||
|
||||
/* return early if crtc is already enabled, do this after UIDLE check */
|
||||
if (sde_crtc->enabled) {
|
||||
if (msm_is_mode_seamless_dms(&crtc->state->adjusted_mode))
|
||||
if (msm_is_mode_seamless_dms(&crtc->state->adjusted_mode) ||
|
||||
msm_is_mode_seamless_dyn_clk(&crtc->state->adjusted_mode))
|
||||
|
||||
SDE_DEBUG("%s extra crtc enable expected during DMS\n",
|
||||
sde_crtc->name);
|
||||
else
|
||||
|
Viittaa uudesa ongelmassa
Block a user