diff options
author | Archit Taneja <architt@codeaurora.org> | 2015-08-03 04:35:45 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-08-15 18:27:24 -0400 |
commit | a9ddac9c5765712fa7eace55feeaf7c4ac75e32b (patch) | |
tree | a7b2150d8c197185c98854572c02880aacd66c20 /drivers/gpu/drm/msm/dsi/dsi_manager.c | |
parent | 60d05cb4eabcfcab00784677c2a55ed1b9bda2ec (diff) |
drm/msm/dsi: Refer to connected device as 'device' instead of 'panel'
We currently support only panels connected to dsi output. We're going to
also support external bridge chips now.
Change 'panel_node' to 'device_node' in the struct msm_dsi_host and
'panel_flags' to 'device_flags' in msm_dsi. This makes things sound a
bit more generic.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/dsi_manager.c')
-rw-r--r-- | drivers/gpu/drm/msm/dsi/dsi_manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c b/drivers/gpu/drm/msm/dsi/dsi_manager.c index ca4ff4ab663e..f43c66ca81fb 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_manager.c +++ b/drivers/gpu/drm/msm/dsi/dsi_manager.c | |||
@@ -156,7 +156,7 @@ static enum drm_connector_status dsi_mgr_connector_detect( | |||
156 | DBG("id=%d", id); | 156 | DBG("id=%d", id); |
157 | if (!msm_dsi->panel) { | 157 | if (!msm_dsi->panel) { |
158 | msm_dsi->panel = msm_dsi_host_get_panel(msm_dsi->host, | 158 | msm_dsi->panel = msm_dsi_host_get_panel(msm_dsi->host, |
159 | &msm_dsi->panel_flags); | 159 | &msm_dsi->device_flags); |
160 | 160 | ||
161 | /* There is only 1 panel in the global panel list | 161 | /* There is only 1 panel in the global panel list |
162 | * for dual DSI mode. Therefore slave dsi should get | 162 | * for dual DSI mode. Therefore slave dsi should get |
@@ -177,7 +177,7 @@ static enum drm_connector_status dsi_mgr_connector_detect( | |||
177 | */ | 177 | */ |
178 | if (msm_dsi->panel && IS_DUAL_DSI() && | 178 | if (msm_dsi->panel && IS_DUAL_DSI() && |
179 | other_dsi && other_dsi->panel) { | 179 | other_dsi && other_dsi->panel) { |
180 | bool cmd_mode = !(msm_dsi->panel_flags & | 180 | bool cmd_mode = !(msm_dsi->device_flags & |
181 | MIPI_DSI_MODE_VIDEO); | 181 | MIPI_DSI_MODE_VIDEO); |
182 | struct drm_encoder *encoder = msm_dsi_get_encoder( | 182 | struct drm_encoder *encoder = msm_dsi_get_encoder( |
183 | dsi_mgr_get_dsi(DSI_ENCODER_MASTER)); | 183 | dsi_mgr_get_dsi(DSI_ENCODER_MASTER)); |