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:
Veera Sundaram Sankaran
2023-01-20 15:20:10 -08:00
szülő 95e583e413
commit 2e3ba9430c
13 fájl változott, egészen pontosan 155 új sor hozzáadva és 141 régi sor törölve

Fájl megtekintése

@@ -421,15 +421,6 @@ void dsi_display_put_mode(struct dsi_display *display,
*/
int dsi_display_get_default_lms(void *dsi_display, u32 *num_lm);
/**
* dsi_display_get_avr_step_req_fps() - get avr step rate for given fps
* @display: Handle to display.
* @mode_fps: Fps value of current mode
*
* Return: AVR step rate or -ve error code.
*/
int dsi_display_get_avr_step_req_fps(void *dsi_display, u32 mode_fps);
/*
* dsi_conn_get_lm_from_mode() - retrieves LM count from dsi mode priv info
* @display: Handle to display.