mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
disp: msm: dsi: check bit clock before bypassing clock set during DMS
This change ensures that if the dsi clock rate is not specified in the timing modes, setting clkrate_change_pending is not bypassed. Change-Id: I2475da1e548f29c68a6a4466c5ef540f7f11d553 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
parent
8bc240b71d
commit
c404a2f158
1 changed files with 1 additions and 1 deletions
|
|
@ -4520,7 +4520,7 @@ static int dsi_display_set_mode_sub(struct dsi_display *display,
|
|||
commit_phy_timing = true;
|
||||
|
||||
/* No need to set clkrate pending flag if clocks are same */
|
||||
if (cur_bitclk != to_bitclk)
|
||||
if ((!cur_bitclk && !to_bitclk) || (cur_bitclk != to_bitclk))
|
||||
atomic_set(&display->clkrate_change_pending, 1);
|
||||
|
||||
dsi_display_validate_dms_fps(display->panel->cur_mode, mode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue