disp: msm: add capability to dynamically update the transfer time

This change adds a connector OP, that will be used to update frame
transfer time dynamically at the request from user space.

It also adds parsing for new device tree entries that set the minimum
and maximum trasnfer times on a mode basis. These min and max transfer
times are also published to userspace through the connector mode info
capabilities blob.

Change-Id: I12aedf96a51ff7feb2c5b3b1353d3c4ec8dcb068
Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
This commit is contained in:
Nilaan Gunabalachandran
2021-08-26 10:15:46 -07:00
vanhempi de4b82ec48
commit e5fcf7f263
9 muutettua tiedostoa jossa 123 lisäystä ja 7 poistoa

Näytä tiedosto

@@ -831,4 +831,13 @@ int dsi_display_restore_bit_clk(struct dsi_display *display, struct dsi_display_
bool dsi_display_mode_match(const struct dsi_display_mode *mode1,
struct dsi_display_mode *mode2, unsigned int match_flags);
/**
* dsi_display_update_transfer_time() - update DSI transfer time and clocks
* @display: handle to display
* @transfer_time: transfer time value to be updated
*
* Return: error code
*/
int dsi_display_update_transfer_time(void *display, u32 transfer_time);
#endif /* _DSI_DISPLAY_H_ */