drm/i915: Restore DP-E to VBT mapping table
authorMatt Roper <matthew.d.roper@intel.com>
Sat, 6 Jun 2020 03:18:03 +0000 (20:18 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 6 Jun 2020 08:59:09 +0000 (09:59 +0100)
We accidentally dropped matching for DVO_PORT_DPE from the VBT mapping
table when we refactored the function.  Restore it.

Fixes: 4628142aeccc ("drm/i915/rkl: provide port/phy mapping for vbt")
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200606031803.3309624-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_bios.c

index 4f1a72a90b8f854affde9693ee57b829c93b3762..c974c716f8593eb779865f29dd5016826117eab8 100644 (file)
@@ -1650,7 +1650,7 @@ static enum port dvo_port_to_port(struct drm_i915_private *dev_priv,
                [PORT_B] = { DVO_PORT_HDMIB, DVO_PORT_DPB, -1 },
                [PORT_C] = { DVO_PORT_HDMIC, DVO_PORT_DPC, -1 },
                [PORT_D] = { DVO_PORT_HDMID, DVO_PORT_DPD, -1 },
-               [PORT_E] = { DVO_PORT_CRT, DVO_PORT_HDMIE, -1 },
+               [PORT_E] = { DVO_PORT_HDMIE, DVO_PORT_DPE, DVO_PORT_CRT },
                [PORT_F] = { DVO_PORT_HDMIF, DVO_PORT_DPF, -1 },
                [PORT_G] = { DVO_PORT_HDMIG, DVO_PORT_DPG, -1 },
        };