Merge "disp: msm: dsi: parse panel ack disabled property for sim panels"

This commit is contained in:
qctecmdr
2022-04-09 06:33:20 -07:00
committed by Gerrit - the friendly Code Review server
3 changed files with 7 additions and 1 deletions

View File

@@ -66,7 +66,8 @@ static bool is_sim_panel(struct dsi_display *display)
if (!display || !display->panel)
return false;
return display->panel->te_using_watchdog_timer;
return (display->panel->te_using_watchdog_timer ||
display->panel->panel_ack_disabled);
}
static void dsi_display_mask_ctrl_error_interrupts(struct dsi_display *display,

View File

@@ -1787,6 +1787,9 @@ static int dsi_panel_parse_panel_mode(struct dsi_panel *panel)
"qcom,poms-align-panel-vsync");
panel->panel_mode = panel_mode;
panel->panel_mode_switch_enabled = panel_mode_switch_enabled;
panel->panel_ack_disabled = utils->read_bool(utils->data,
"qcom,panel-ack-disabled");
error:
return rc;
}

View File

@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
*/
@@ -215,6 +216,7 @@ struct dsi_panel {
const char *type;
struct device_node *panel_of_node;
struct mipi_dsi_device mipi_device;
bool panel_ack_disabled;
struct mutex panel_lock;
struct drm_panel drm_panel;