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 行删除

查看文件

@@ -1787,6 +1787,7 @@ static int _sde_kms_setup_displays(struct drm_device *dev,
.prepare_commit = dsi_conn_prepare_commit,
.set_submode_info = dsi_conn_set_submode_blob_info,
.get_num_lm_from_mode = dsi_conn_get_lm_from_mode,
.update_transfer_time = dsi_display_update_transfer_time,
};
static const struct sde_connector_ops wb_ops = {
.post_init = sde_wb_connector_post_init,
@@ -1807,6 +1808,7 @@ static int _sde_kms_setup_displays(struct drm_device *dev,
.install_properties = NULL,
.set_dyn_bit_clk = NULL,
.set_allowed_mode_switch = NULL,
.update_transfer_time = NULL,
};
static const struct sde_connector_ops dp_ops = {
.post_init = dp_connector_post_init,
@@ -1829,6 +1831,7 @@ static int _sde_kms_setup_displays(struct drm_device *dev,
.install_properties = dp_connector_install_properties,
.set_allowed_mode_switch = NULL,
.set_dyn_bit_clk = NULL,
.update_transfer_time = NULL,
};
struct msm_display_info info;
struct drm_encoder *encoder;