disp: msm: dsi: trigger broadcast commands using DMA start window

As per the HW requirements it is highly recommended to use DMA start
window to trigger  broadcast commands. If not used then it can
result in a hardware hang with the DSI controllers going out
of sync. This behavior is even more prominent in cases of higher
refresh rates. As part of the change we change the default DMA
scheduling behavior to default to maximum possible DMA window
in case it is not specified in the panel device tree.

Change-Id: Ied4df9063664cedbc18ce009054d4e5ecae30ab2
Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
Satya Rama Aditya Pinapala
2020-11-25 15:11:17 -08:00
parent ee8ad711e9
commit ae5b602b4f
6 changed files with 26 additions and 14 deletions

View File

@@ -194,6 +194,7 @@ struct dsi_display_ext_bridge {
* Set to false, otherwise.
* @tx_cmd_buf_ndx: Index to the DSI debugfs TX CMD buffer.
* @cmd_set: Debugfs TX cmd set.
* @enabled: Boolean to indicate display enabled.
*/
struct dsi_display {
struct platform_device *pdev;
@@ -292,6 +293,8 @@ struct dsi_display {
int tx_cmd_buf_ndx;
struct dsi_panel_cmd_set cmd_set;
bool enabled;
};
int dsi_display_dev_probe(struct platform_device *pdev);