disp: msm: add changes missing during snapshots
This change ports the missing changes from 4.14 to 4.19 that were missed. It includes changes up until commit 0f8fb25421ff ("cnss2: Add device version to SOC info structure"). Change-Id: Idfdfe891f146e389e3c65cc3fc4c98d93220e789 Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
@@ -5403,6 +5403,7 @@ int dsi_display_get_info(struct drm_connector *connector,
|
||||
{
|
||||
struct dsi_display *display;
|
||||
struct dsi_panel_phy_props phy_props;
|
||||
struct dsi_host_common_cfg *host;
|
||||
int i, rc;
|
||||
|
||||
if (!info || !disp) {
|
||||
@@ -5470,6 +5471,9 @@ int dsi_display_get_info(struct drm_connector *connector,
|
||||
|
||||
info->te_source = display->te_source;
|
||||
|
||||
host = &display->panel->host_config;
|
||||
if (host->split_link.split_link_enabled)
|
||||
info->capabilities |= MSM_DISPLAY_SPLIT_LINK;
|
||||
error:
|
||||
mutex_unlock(&display->display_lock);
|
||||
return rc;
|
||||
|
Fai riferimento in un nuovo problema
Block a user