disp: msm: expose qsync avr step as part of conn mode caps
Add capability to read avr step for each timing mode. This will be in addition to the existing avr-step-list which is defined when dfps is enabled. Expose the avr-step as part of each mode in connector caps to user-mode. Additionally, change the avr_step connector property to enum to give usermode just the capability to enable/disable avr-step and not alter the step value as its fixed from the device tree. Change-Id: I6d7f8e9fcf03f98abef7640fc741e5e1be8597a1 Signed-off-by: Veera Sundaram Sankaran <quic_veeras@quicinc.com>
This commit is contained in:
@@ -418,7 +418,8 @@ struct dsi_panel_cmd_set {
|
||||
* @vdc: VDC compression configuration.
|
||||
* @pclk_scale: pclk scale factor, target bpp to source bpp
|
||||
* @roi_caps: Panel ROI capabilities.
|
||||
* @qsync_min_fps: Qsync min fps rate
|
||||
* @qsync_min_fps: Qsync min fps rate
|
||||
* @avr_step_fps: AVR step fps rate
|
||||
*/
|
||||
struct dsi_mode_info {
|
||||
u32 h_active;
|
||||
@@ -446,6 +447,7 @@ struct dsi_mode_info {
|
||||
struct msm_ratio pclk_scale;
|
||||
struct msm_roi_caps roi_caps;
|
||||
u32 qsync_min_fps;
|
||||
u32 avr_step_fps;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -625,6 +627,7 @@ struct dsi_host_config {
|
||||
* for command mode panels in microseconds.
|
||||
* @dsi_transfer_time_us: Specifies the dsi transfer time for cmd panels.
|
||||
* @qsync_min_fps: Qsync min fps value for the mode
|
||||
* @avr_step_fps: AVR step fps value for the mode
|
||||
* @clk_rate_hz: DSI bit clock per lane in hz.
|
||||
* @min_dsi_clk_hz: Min dsi clk per lane to transfer frame in vsync time.
|
||||
* @bit_clk_list: List of dynamic bit clock rates supported.
|
||||
@@ -654,6 +657,7 @@ struct dsi_display_mode_priv_info {
|
||||
u32 mdp_transfer_time_us_max;
|
||||
u32 dsi_transfer_time_us;
|
||||
u32 qsync_min_fps;
|
||||
u32 avr_step_fps;
|
||||
u64 clk_rate_hz;
|
||||
u64 min_dsi_clk_hz;
|
||||
struct msm_dyn_clk_list bit_clk_list;
|
||||
|
Reference in New Issue
Block a user