disp: msm: dsi: avoid TE-based panel status check in Trusted-vm

Add check to avoid the dsi panel status check with TE
method as the GPIO support is not available in Trusted-vm.

Change-Id: I5ad6e7b77b189b5150302ab34767dfc4d97aaf61
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran
2020-11-05 15:05:48 -08:00
förälder c99f3fd6ae
incheckning 899b201a0a

Visa fil

@@ -858,7 +858,8 @@ int dsi_display_check_status(struct drm_connector *connector, void *display,
if (te_check_override)
te_rechecks = MAX_TE_RECHECKS;
if (panel->panel_mode == DSI_OP_VIDEO_MODE)
if ((dsi_display->trusted_vm_env) ||
(panel->panel_mode == DSI_OP_VIDEO_MODE))
te_rechecks = 0;
ret = dsi_display_clk_ctrl(dsi_display->dsi_clk_handle,