disp: msm: dsi: disable ESD while using swte

While running the panel in simulation mode using sim-swte, ESD check is
invalid. The change doesn't set the ESD capabilities if watchdog timer
is being used for TE.

Change-Id: I375f369ad4602f21da6151e526e7b6e78fcea524
Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:
Satya Rama Aditya Pinapala
2020-04-13 11:39:35 -07:00
bovenliggende d94c7aef02
commit 23505c9d70

Bestand weergeven

@@ -5919,7 +5919,8 @@ int dsi_display_get_info(struct drm_connector *connector,
break;
}
if (display->panel->esd_config.esd_enabled)
if (display->panel->esd_config.esd_enabled &&
!display->sw_te_using_wd)
info->capabilities |= MSM_DISPLAY_ESD_ENABLED;
info->te_source = display->te_source;