diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-06-22 14:57:06 -0400 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-07-07 06:10:16 -0400 |
commit | cca0502b9c6bf4a289a5e71a9a3794e73973e9e3 (patch) | |
tree | 1197f4b81c171ceb376c79ff231ce5c56d9b7e7d | |
parent | 2210ce7f537412160e93a5cf9796581858287fb1 (diff) |
drm/i915: s/INTEL_OUTPUT_DISPLAYPORT/INTEL_OUTPUT_DP/
INTEL_OUTPUT_DISPLAYPORT hsa been bugging me for a long time. It always
looks out of place besides INTEL_OUTPUT_EDP and INTEL_OUTPUT_DP_MST.
Let's just rename it to INTEL_OUTPUT_DP.
v2: Rebase
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1466621833-5054-9-git-send-email-ville.syrjala@linux.intel.com
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_ddi.c | 16 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 8 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 10 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_dpll_mgr.c | 6 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_opregion.c | 2 |
7 files changed, 24 insertions, 24 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 3d05cae0e92d..844fea795bae 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c | |||
@@ -3774,7 +3774,7 @@ static int i9xx_pipe_crc_auto_source(struct drm_device *dev, enum pipe pipe, | |||
3774 | case INTEL_OUTPUT_TVOUT: | 3774 | case INTEL_OUTPUT_TVOUT: |
3775 | *source = INTEL_PIPE_CRC_SOURCE_TV; | 3775 | *source = INTEL_PIPE_CRC_SOURCE_TV; |
3776 | break; | 3776 | break; |
3777 | case INTEL_OUTPUT_DISPLAYPORT: | 3777 | case INTEL_OUTPUT_DP: |
3778 | case INTEL_OUTPUT_EDP: | 3778 | case INTEL_OUTPUT_EDP: |
3779 | dig_port = enc_to_dig_port(&encoder->base); | 3779 | dig_port = enc_to_dig_port(&encoder->base); |
3780 | switch (dig_port->port) { | 3780 | switch (dig_port->port) { |
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index aa12d0e9bb93..dd1d6fe12297 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c | |||
@@ -318,7 +318,7 @@ static void ddi_get_encoder_port(struct intel_encoder *intel_encoder, | |||
318 | default: | 318 | default: |
319 | WARN(1, "Invalid DDI encoder type %d\n", intel_encoder->type); | 319 | WARN(1, "Invalid DDI encoder type %d\n", intel_encoder->type); |
320 | /* fallthrough and treat as unknown */ | 320 | /* fallthrough and treat as unknown */ |
321 | case INTEL_OUTPUT_DISPLAYPORT: | 321 | case INTEL_OUTPUT_DP: |
322 | case INTEL_OUTPUT_EDP: | 322 | case INTEL_OUTPUT_EDP: |
323 | case INTEL_OUTPUT_HDMI: | 323 | case INTEL_OUTPUT_HDMI: |
324 | case INTEL_OUTPUT_UNKNOWN: | 324 | case INTEL_OUTPUT_UNKNOWN: |
@@ -482,7 +482,7 @@ void intel_prepare_ddi_buffer(struct intel_encoder *encoder) | |||
482 | ddi_translations = ddi_translations_edp; | 482 | ddi_translations = ddi_translations_edp; |
483 | size = n_edp_entries; | 483 | size = n_edp_entries; |
484 | break; | 484 | break; |
485 | case INTEL_OUTPUT_DISPLAYPORT: | 485 | case INTEL_OUTPUT_DP: |
486 | case INTEL_OUTPUT_HDMI: | 486 | case INTEL_OUTPUT_HDMI: |
487 | ddi_translations = ddi_translations_dp; | 487 | ddi_translations = ddi_translations_dp; |
488 | size = n_dp_entries; | 488 | size = n_dp_entries; |
@@ -1068,7 +1068,7 @@ void intel_ddi_set_pipe_settings(struct drm_crtc *crtc) | |||
1068 | int type = intel_encoder->type; | 1068 | int type = intel_encoder->type; |
1069 | uint32_t temp; | 1069 | uint32_t temp; |
1070 | 1070 | ||
1071 | if (type == INTEL_OUTPUT_DISPLAYPORT || type == INTEL_OUTPUT_EDP || type == INTEL_OUTPUT_DP_MST) { | 1071 | if (type == INTEL_OUTPUT_DP || type == INTEL_OUTPUT_EDP || type == INTEL_OUTPUT_DP_MST) { |
1072 | WARN_ON(transcoder_is_dsi(cpu_transcoder)); | 1072 | WARN_ON(transcoder_is_dsi(cpu_transcoder)); |
1073 | 1073 | ||
1074 | temp = TRANS_MSA_SYNC_CLK; | 1074 | temp = TRANS_MSA_SYNC_CLK; |
@@ -1182,7 +1182,7 @@ void intel_ddi_enable_transcoder_func(struct drm_crtc *crtc) | |||
1182 | temp |= TRANS_DDI_MODE_SELECT_FDI; | 1182 | temp |= TRANS_DDI_MODE_SELECT_FDI; |
1183 | temp |= (intel_crtc->config->fdi_lanes - 1) << 1; | 1183 | temp |= (intel_crtc->config->fdi_lanes - 1) << 1; |
1184 | 1184 | ||
1185 | } else if (type == INTEL_OUTPUT_DISPLAYPORT || | 1185 | } else if (type == INTEL_OUTPUT_DP || |
1186 | type == INTEL_OUTPUT_EDP) { | 1186 | type == INTEL_OUTPUT_EDP) { |
1187 | struct intel_dp *intel_dp = enc_to_intel_dp(encoder); | 1187 | struct intel_dp *intel_dp = enc_to_intel_dp(encoder); |
1188 | 1188 | ||
@@ -1392,7 +1392,7 @@ static void skl_ddi_set_iboost(struct drm_i915_private *dev_priv, | |||
1392 | dp_iboost = dev_priv->vbt.ddi_port_info[port].dp_boost_level; | 1392 | dp_iboost = dev_priv->vbt.ddi_port_info[port].dp_boost_level; |
1393 | hdmi_iboost = dev_priv->vbt.ddi_port_info[port].hdmi_boost_level; | 1393 | hdmi_iboost = dev_priv->vbt.ddi_port_info[port].hdmi_boost_level; |
1394 | 1394 | ||
1395 | if (type == INTEL_OUTPUT_DISPLAYPORT) { | 1395 | if (type == INTEL_OUTPUT_DP) { |
1396 | if (dp_iboost) { | 1396 | if (dp_iboost) { |
1397 | iboost = dp_iboost; | 1397 | iboost = dp_iboost; |
1398 | } else { | 1398 | } else { |
@@ -1450,7 +1450,7 @@ static void bxt_ddi_vswing_sequence(struct drm_i915_private *dev_priv, | |||
1450 | if (type == INTEL_OUTPUT_EDP && dev_priv->vbt.edp.low_vswing) { | 1450 | if (type == INTEL_OUTPUT_EDP && dev_priv->vbt.edp.low_vswing) { |
1451 | n_entries = ARRAY_SIZE(bxt_ddi_translations_edp); | 1451 | n_entries = ARRAY_SIZE(bxt_ddi_translations_edp); |
1452 | ddi_translations = bxt_ddi_translations_edp; | 1452 | ddi_translations = bxt_ddi_translations_edp; |
1453 | } else if (type == INTEL_OUTPUT_DISPLAYPORT | 1453 | } else if (type == INTEL_OUTPUT_DP |
1454 | || type == INTEL_OUTPUT_EDP) { | 1454 | || type == INTEL_OUTPUT_EDP) { |
1455 | n_entries = ARRAY_SIZE(bxt_ddi_translations_dp); | 1455 | n_entries = ARRAY_SIZE(bxt_ddi_translations_dp); |
1456 | ddi_translations = bxt_ddi_translations_dp; | 1456 | ddi_translations = bxt_ddi_translations_dp; |
@@ -1624,7 +1624,7 @@ static void intel_ddi_pre_enable(struct intel_encoder *intel_encoder) | |||
1624 | 1624 | ||
1625 | intel_ddi_clk_select(intel_encoder, crtc->config); | 1625 | intel_ddi_clk_select(intel_encoder, crtc->config); |
1626 | 1626 | ||
1627 | if (type == INTEL_OUTPUT_DISPLAYPORT || type == INTEL_OUTPUT_EDP) { | 1627 | if (type == INTEL_OUTPUT_DP || type == INTEL_OUTPUT_EDP) { |
1628 | struct intel_dp *intel_dp = enc_to_intel_dp(encoder); | 1628 | struct intel_dp *intel_dp = enc_to_intel_dp(encoder); |
1629 | 1629 | ||
1630 | intel_dp_set_link_params(intel_dp, crtc->config); | 1630 | intel_dp_set_link_params(intel_dp, crtc->config); |
@@ -1669,7 +1669,7 @@ static void intel_ddi_post_disable(struct intel_encoder *intel_encoder) | |||
1669 | if (wait) | 1669 | if (wait) |
1670 | intel_wait_ddi_buf_idle(dev_priv, port); | 1670 | intel_wait_ddi_buf_idle(dev_priv, port); |
1671 | 1671 | ||
1672 | if (type == INTEL_OUTPUT_DISPLAYPORT || type == INTEL_OUTPUT_EDP) { | 1672 | if (type == INTEL_OUTPUT_DP || type == INTEL_OUTPUT_EDP) { |
1673 | struct intel_dp *intel_dp = enc_to_intel_dp(encoder); | 1673 | struct intel_dp *intel_dp = enc_to_intel_dp(encoder); |
1674 | intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF); | 1674 | intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF); |
1675 | intel_edp_panel_vdd_on(intel_dp); | 1675 | intel_edp_panel_vdd_on(intel_dp); |
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9da4befa6fcb..907945545f6b 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -4040,7 +4040,7 @@ intel_trans_dp_port_sel(struct drm_crtc *crtc) | |||
4040 | struct intel_encoder *encoder; | 4040 | struct intel_encoder *encoder; |
4041 | 4041 | ||
4042 | for_each_encoder_on_crtc(dev, crtc, encoder) { | 4042 | for_each_encoder_on_crtc(dev, crtc, encoder) { |
4043 | if (encoder->type == INTEL_OUTPUT_DISPLAYPORT || | 4043 | if (encoder->type == INTEL_OUTPUT_DP || |
4044 | encoder->type == INTEL_OUTPUT_EDP) | 4044 | encoder->type == INTEL_OUTPUT_EDP) |
4045 | return enc_to_dig_port(&encoder->base)->port; | 4045 | return enc_to_dig_port(&encoder->base)->port; |
4046 | } | 4046 | } |
@@ -5128,7 +5128,7 @@ intel_display_port_power_domain(struct intel_encoder *intel_encoder) | |||
5128 | case INTEL_OUTPUT_UNKNOWN: | 5128 | case INTEL_OUTPUT_UNKNOWN: |
5129 | /* Only DDI platforms should ever use this output type */ | 5129 | /* Only DDI platforms should ever use this output type */ |
5130 | WARN_ON_ONCE(!HAS_DDI(dev)); | 5130 | WARN_ON_ONCE(!HAS_DDI(dev)); |
5131 | case INTEL_OUTPUT_DISPLAYPORT: | 5131 | case INTEL_OUTPUT_DP: |
5132 | case INTEL_OUTPUT_HDMI: | 5132 | case INTEL_OUTPUT_HDMI: |
5133 | case INTEL_OUTPUT_EDP: | 5133 | case INTEL_OUTPUT_EDP: |
5134 | intel_dig_port = enc_to_dig_port(&intel_encoder->base); | 5134 | intel_dig_port = enc_to_dig_port(&intel_encoder->base); |
@@ -5162,7 +5162,7 @@ intel_display_port_aux_power_domain(struct intel_encoder *intel_encoder) | |||
5162 | * run the DP detection too. | 5162 | * run the DP detection too. |
5163 | */ | 5163 | */ |
5164 | WARN_ON_ONCE(!HAS_DDI(dev)); | 5164 | WARN_ON_ONCE(!HAS_DDI(dev)); |
5165 | case INTEL_OUTPUT_DISPLAYPORT: | 5165 | case INTEL_OUTPUT_DP: |
5166 | case INTEL_OUTPUT_EDP: | 5166 | case INTEL_OUTPUT_EDP: |
5167 | intel_dig_port = enc_to_dig_port(&intel_encoder->base); | 5167 | intel_dig_port = enc_to_dig_port(&intel_encoder->base); |
5168 | return port_to_aux_power_domain(intel_dig_port->port); | 5168 | return port_to_aux_power_domain(intel_dig_port->port); |
@@ -12377,7 +12377,7 @@ static bool check_digital_port_conflicts(struct drm_atomic_state *state) | |||
12377 | case INTEL_OUTPUT_UNKNOWN: | 12377 | case INTEL_OUTPUT_UNKNOWN: |
12378 | if (WARN_ON(!HAS_DDI(dev))) | 12378 | if (WARN_ON(!HAS_DDI(dev))) |
12379 | break; | 12379 | break; |
12380 | case INTEL_OUTPUT_DISPLAYPORT: | 12380 | case INTEL_OUTPUT_DP: |
12381 | case INTEL_OUTPUT_HDMI: | 12381 | case INTEL_OUTPUT_HDMI: |
12382 | case INTEL_OUTPUT_EDP: | 12382 | case INTEL_OUTPUT_EDP: |
12383 | port_mask = 1 << enc_to_dig_port(&encoder->base)->port; | 12383 | port_mask = 1 << enc_to_dig_port(&encoder->base)->port; |
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 3a392c42cd3d..0c5ba3410a1e 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -4250,7 +4250,7 @@ intel_dp_long_pulse(struct intel_connector *intel_connector) | |||
4250 | } | 4250 | } |
4251 | 4251 | ||
4252 | if (intel_encoder->type != INTEL_OUTPUT_EDP) | 4252 | if (intel_encoder->type != INTEL_OUTPUT_EDP) |
4253 | intel_encoder->type = INTEL_OUTPUT_DISPLAYPORT; | 4253 | intel_encoder->type = INTEL_OUTPUT_DP; |
4254 | 4254 | ||
4255 | intel_dp_probe_oui(intel_dp); | 4255 | intel_dp_probe_oui(intel_dp); |
4256 | 4256 | ||
@@ -4326,7 +4326,7 @@ intel_dp_detect(struct drm_connector *connector, bool force) | |||
4326 | /* MST devices are disconnected from a monitor POV */ | 4326 | /* MST devices are disconnected from a monitor POV */ |
4327 | intel_dp_unset_edid(intel_dp); | 4327 | intel_dp_unset_edid(intel_dp); |
4328 | if (intel_encoder->type != INTEL_OUTPUT_EDP) | 4328 | if (intel_encoder->type != INTEL_OUTPUT_EDP) |
4329 | intel_encoder->type = INTEL_OUTPUT_DISPLAYPORT; | 4329 | intel_encoder->type = INTEL_OUTPUT_DP; |
4330 | return connector_status_disconnected; | 4330 | return connector_status_disconnected; |
4331 | } | 4331 | } |
4332 | 4332 | ||
@@ -4365,7 +4365,7 @@ intel_dp_force(struct drm_connector *connector) | |||
4365 | intel_display_power_put(dev_priv, power_domain); | 4365 | intel_display_power_put(dev_priv, power_domain); |
4366 | 4366 | ||
4367 | if (intel_encoder->type != INTEL_OUTPUT_EDP) | 4367 | if (intel_encoder->type != INTEL_OUTPUT_EDP) |
4368 | intel_encoder->type = INTEL_OUTPUT_DISPLAYPORT; | 4368 | intel_encoder->type = INTEL_OUTPUT_DP; |
4369 | } | 4369 | } |
4370 | 4370 | ||
4371 | static int intel_dp_get_modes(struct drm_connector *connector) | 4371 | static int intel_dp_get_modes(struct drm_connector *connector) |
@@ -4678,7 +4678,7 @@ intel_dp_hpd_pulse(struct intel_digital_port *intel_dig_port, bool long_hpd) | |||
4678 | 4678 | ||
4679 | if (intel_dig_port->base.type != INTEL_OUTPUT_EDP && | 4679 | if (intel_dig_port->base.type != INTEL_OUTPUT_EDP && |
4680 | intel_dig_port->base.type != INTEL_OUTPUT_HDMI) | 4680 | intel_dig_port->base.type != INTEL_OUTPUT_HDMI) |
4681 | intel_dig_port->base.type = INTEL_OUTPUT_DISPLAYPORT; | 4681 | intel_dig_port->base.type = INTEL_OUTPUT_DP; |
4682 | 4682 | ||
4683 | if (long_hpd && intel_dig_port->base.type == INTEL_OUTPUT_EDP) { | 4683 | if (long_hpd && intel_dig_port->base.type == INTEL_OUTPUT_EDP) { |
4684 | /* | 4684 | /* |
@@ -5694,7 +5694,7 @@ bool intel_dp_init(struct drm_device *dev, | |||
5694 | intel_dig_port->dp.output_reg = output_reg; | 5694 | intel_dig_port->dp.output_reg = output_reg; |
5695 | intel_dig_port->max_lanes = 4; | 5695 | intel_dig_port->max_lanes = 4; |
5696 | 5696 | ||
5697 | intel_encoder->type = INTEL_OUTPUT_DISPLAYPORT; | 5697 | intel_encoder->type = INTEL_OUTPUT_DP; |
5698 | if (IS_CHERRYVIEW(dev)) { | 5698 | if (IS_CHERRYVIEW(dev)) { |
5699 | if (port == PORT_D) | 5699 | if (port == PORT_D) |
5700 | intel_encoder->crtc_mask = 1 << 2; | 5700 | intel_encoder->crtc_mask = 1 << 2; |
diff --git a/drivers/gpu/drm/i915/intel_dpll_mgr.c b/drivers/gpu/drm/i915/intel_dpll_mgr.c index 9098169b39c3..5c1f2d235ffa 100644 --- a/drivers/gpu/drm/i915/intel_dpll_mgr.c +++ b/drivers/gpu/drm/i915/intel_dpll_mgr.c | |||
@@ -713,7 +713,7 @@ hsw_get_dpll(struct intel_crtc *crtc, struct intel_crtc_state *crtc_state, | |||
713 | pll = intel_find_shared_dpll(crtc, crtc_state, | 713 | pll = intel_find_shared_dpll(crtc, crtc_state, |
714 | DPLL_ID_WRPLL1, DPLL_ID_WRPLL2); | 714 | DPLL_ID_WRPLL1, DPLL_ID_WRPLL2); |
715 | 715 | ||
716 | } else if (encoder->type == INTEL_OUTPUT_DISPLAYPORT || | 716 | } else if (encoder->type == INTEL_OUTPUT_DP || |
717 | encoder->type == INTEL_OUTPUT_DP_MST || | 717 | encoder->type == INTEL_OUTPUT_DP_MST || |
718 | encoder->type == INTEL_OUTPUT_EDP) { | 718 | encoder->type == INTEL_OUTPUT_EDP) { |
719 | enum intel_dpll_id pll_id; | 719 | enum intel_dpll_id pll_id; |
@@ -1226,7 +1226,7 @@ skl_get_dpll(struct intel_crtc *crtc, struct intel_crtc_state *crtc_state, | |||
1226 | DPLL_CFGCR2_KDIV(wrpll_params.kdiv) | | 1226 | DPLL_CFGCR2_KDIV(wrpll_params.kdiv) | |
1227 | DPLL_CFGCR2_PDIV(wrpll_params.pdiv) | | 1227 | DPLL_CFGCR2_PDIV(wrpll_params.pdiv) | |
1228 | wrpll_params.central_freq; | 1228 | wrpll_params.central_freq; |
1229 | } else if (encoder->type == INTEL_OUTPUT_DISPLAYPORT || | 1229 | } else if (encoder->type == INTEL_OUTPUT_DP || |
1230 | encoder->type == INTEL_OUTPUT_DP_MST || | 1230 | encoder->type == INTEL_OUTPUT_DP_MST || |
1231 | encoder->type == INTEL_OUTPUT_EDP) { | 1231 | encoder->type == INTEL_OUTPUT_EDP) { |
1232 | switch (crtc_state->port_clock / 2) { | 1232 | switch (crtc_state->port_clock / 2) { |
@@ -1534,7 +1534,7 @@ bxt_get_dpll(struct intel_crtc *crtc, struct intel_crtc_state *crtc_state, | |||
1534 | clk_div.m2_frac_en = clk_div.m2_frac != 0; | 1534 | clk_div.m2_frac_en = clk_div.m2_frac != 0; |
1535 | 1535 | ||
1536 | vco = best_clock.vco; | 1536 | vco = best_clock.vco; |
1537 | } else if (encoder->type == INTEL_OUTPUT_DISPLAYPORT || | 1537 | } else if (encoder->type == INTEL_OUTPUT_DP || |
1538 | encoder->type == INTEL_OUTPUT_EDP) { | 1538 | encoder->type == INTEL_OUTPUT_EDP) { |
1539 | int i; | 1539 | int i; |
1540 | 1540 | ||
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index de8e64395ff3..f26befedcf25 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -159,7 +159,7 @@ enum intel_output_type { | |||
159 | INTEL_OUTPUT_LVDS = 4, | 159 | INTEL_OUTPUT_LVDS = 4, |
160 | INTEL_OUTPUT_TVOUT = 5, | 160 | INTEL_OUTPUT_TVOUT = 5, |
161 | INTEL_OUTPUT_HDMI = 6, | 161 | INTEL_OUTPUT_HDMI = 6, |
162 | INTEL_OUTPUT_DISPLAYPORT = 7, | 162 | INTEL_OUTPUT_DP = 7, |
163 | INTEL_OUTPUT_EDP = 8, | 163 | INTEL_OUTPUT_EDP = 8, |
164 | INTEL_OUTPUT_DSI = 9, | 164 | INTEL_OUTPUT_DSI = 9, |
165 | INTEL_OUTPUT_UNKNOWN = 10, | 165 | INTEL_OUTPUT_UNKNOWN = 10, |
@@ -1198,7 +1198,7 @@ static inline bool | |||
1198 | intel_crtc_has_dp_encoder(const struct intel_crtc_state *crtc_state) | 1198 | intel_crtc_has_dp_encoder(const struct intel_crtc_state *crtc_state) |
1199 | { | 1199 | { |
1200 | return crtc_state->output_types & | 1200 | return crtc_state->output_types & |
1201 | ((1 << INTEL_OUTPUT_DISPLAYPORT) | | 1201 | ((1 << INTEL_OUTPUT_DP) | |
1202 | (1 << INTEL_OUTPUT_DP_MST) | | 1202 | (1 << INTEL_OUTPUT_DP_MST) | |
1203 | (1 << INTEL_OUTPUT_EDP)); | 1203 | (1 << INTEL_OUTPUT_EDP)); |
1204 | } | 1204 | } |
diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c index 87a9bd040106..c27d5eb063d0 100644 --- a/drivers/gpu/drm/i915/intel_opregion.c +++ b/drivers/gpu/drm/i915/intel_opregion.c | |||
@@ -383,7 +383,7 @@ int intel_opregion_notify_encoder(struct intel_encoder *intel_encoder, | |||
383 | type = DISPLAY_TYPE_CRT; | 383 | type = DISPLAY_TYPE_CRT; |
384 | break; | 384 | break; |
385 | case INTEL_OUTPUT_UNKNOWN: | 385 | case INTEL_OUTPUT_UNKNOWN: |
386 | case INTEL_OUTPUT_DISPLAYPORT: | 386 | case INTEL_OUTPUT_DP: |
387 | case INTEL_OUTPUT_HDMI: | 387 | case INTEL_OUTPUT_HDMI: |
388 | case INTEL_OUTPUT_DP_MST: | 388 | case INTEL_OUTPUT_DP_MST: |
389 | type = DISPLAY_TYPE_EXTERNAL_FLAT_PANEL; | 389 | type = DISPLAY_TYPE_EXTERNAL_FLAT_PANEL; |