summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_bios.c
diff options
context:
space:
mode:
authorJani Nikula2018-04-10 11:12:48 +0200
committerJani Nikula2018-04-11 15:06:17 +0200
commitf3aa929c59c945e50386fde65d37c24e8a898e48 (patch)
tree6e51c6b51795df7b495f55ec72d05b9f3e0aec20 /drivers/gpu/drm/i915/intel_bios.c
parentdrm/i915/pmu: Inspect runtime PM state more carefully while estimating RC6 (diff)
downloadkernel-qcow2-linux-f3aa929c59c945e50386fde65d37c24e8a898e48.tar.gz
kernel-qcow2-linux-f3aa929c59c945e50386fde65d37c24e8a898e48.tar.xz
kernel-qcow2-linux-f3aa929c59c945e50386fde65d37c24e8a898e48.zip
drm/i915/bios: remove duplicated code
Apparently caused by a merge fail at some point. Due to the nature of the duplicated block, the second one will have no effect, and there's no need to backport. Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180410091248.1454-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_bios.c')
-rw-r--r--drivers/gpu/drm/i915/intel_bios.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios.c
index c5c7530ba157..6aae88c4df52 100644
--- a/drivers/gpu/drm/i915/intel_bios.c
+++ b/drivers/gpu/drm/i915/intel_bios.c
@@ -1271,13 +1271,6 @@ static void parse_ddi_port(struct drm_i915_private *dev_priv, enum port port,
is_hdmi = false;
}
- if (port == PORT_A && is_dvi) {
- DRM_DEBUG_KMS("VBT claims port A supports DVI%s, ignoring\n",
- is_hdmi ? "/HDMI" : "");
- is_dvi = false;
- is_hdmi = false;
- }
-
info->supports_dvi = is_dvi;
info->supports_hdmi = is_hdmi;
info->supports_dp = is_dp;