mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "disp: msm: add skip panel power off dt property"
This commit is contained in:
commit
be3f2e68c9
2 changed files with 5 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ static int dsi_panel_power_off(struct dsi_panel *panel)
|
|||
{
|
||||
int rc = 0;
|
||||
|
||||
if (panel->is_twm_en) {
|
||||
if (panel->is_twm_en || panel->skip_panel_off) {
|
||||
DSI_DEBUG("TWM Enabled, skip panel power off\n");
|
||||
return rc;
|
||||
}
|
||||
|
|
@ -2085,6 +2085,9 @@ static int dsi_panel_parse_misc_features(struct dsi_panel *panel)
|
|||
panel->reset_gpio_always_on = utils->read_bool(utils->data,
|
||||
"qcom,platform-reset-gpio-always-on");
|
||||
|
||||
panel->skip_panel_off = utils->read_bool(utils->data,
|
||||
"qcom,skip-panel-power-off");
|
||||
|
||||
panel->spr_info.enable = false;
|
||||
panel->spr_info.pack_type = MSM_DISPLAY_SPR_TYPE_MAX;
|
||||
|
||||
|
|
|
|||
|
|
@ -245,6 +245,7 @@ struct dsi_panel {
|
|||
atomic_t esd_recovery_pending;
|
||||
|
||||
bool is_twm_en;
|
||||
bool skip_panel_off;
|
||||
bool panel_initialized;
|
||||
bool te_using_watchdog_timer;
|
||||
struct dsi_qsync_capabilities qsync_caps;
|
||||
|
|
|
|||
Loading…
Reference in a new issue