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>
这个提交包含在:
Nilaan Gunabalachandran
2021-08-26 10:15:46 -07:00
父节点 de4b82ec48
当前提交 e5fcf7f263
修改 9 个文件,包含 123 行新增7 行删除

查看文件

@@ -431,6 +431,13 @@ struct sde_connector_ops {
*/
int (*get_num_lm_from_mode)(void *display, const struct drm_display_mode *mode);
/*
* update_transfer_time - Update transfer time
* @display: Pointer to private display structure
* @transfer_time: new transfer time to be updated
*/
int (*update_transfer_time)(void *display, u32 transfer_time);
};
/**