Commit e20e4037 authored by Jani Nikula's avatar Jani Nikula

drm/i915/bios: limit default outputs by platform on missing VBT

Pre-DDI and non-CHV aren't using the information created here anyway, so
don't bother setting the defaults for them. This should be a
non-functional change, but is separated here to catch any regressions in
a single commit.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/41526a4eee5fb0de8d7f1ffe4c09965b63ccbaa8.1615998927.git.jani.nikula@intel.com
parent 95bbede5
...@@ -2082,6 +2082,9 @@ init_vbt_missing_defaults(struct drm_i915_private *i915) ...@@ -2082,6 +2082,9 @@ init_vbt_missing_defaults(struct drm_i915_private *i915)
{ {
enum port port; enum port port;
if (!HAS_DDI(i915) && !IS_CHERRYVIEW(i915))
return;
for_each_port(port) { for_each_port(port) {
struct ddi_vbt_port_info *info = struct ddi_vbt_port_info *info =
&i915->vbt.ddi_port_info[port]; &i915->vbt.ddi_port_info[port];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment