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:
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2015-2019, The Linux Foundation.All rights reserved.
|
||||
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _DSI_DISPLAY_H_
|
||||
@@ -410,13 +410,14 @@ int dsi_display_validate_mode(struct dsi_display *display,
|
||||
u32 flags);
|
||||
|
||||
/**
|
||||
* dsi_display_validate_mode_vrr() - validates mode if variable refresh case
|
||||
* dsi_display_validate_mode_change() - validates mode if variable refresh case
|
||||
* or dynamic clk change case
|
||||
* @display: Handle to display.
|
||||
* @mode: Mode to be validated..
|
||||
*
|
||||
* Return: 0 if error code.
|
||||
*/
|
||||
int dsi_display_validate_mode_vrr(struct dsi_display *display,
|
||||
int dsi_display_validate_mode_change(struct dsi_display *display,
|
||||
struct dsi_display_mode *cur_dsi_mode,
|
||||
struct dsi_display_mode *mode);
|
||||
|
||||
|
مرجع در شماره جدید
Block a user