drm/i915: Fix VBT DSI DVO port handling
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 7 Feb 2023 06:43:35 +0000 (08:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Feb 2023 01:07:14 +0000 (03:07 +0200)
commit118b5c136c04da705b274b0d39982bb8b7430fc5
tree8a40d8823b553030529eee6af7e376106af026ba
parent389b9d91dd57fd2d4428bd0c19ed1cacf2fe918d
drm/i915: Fix VBT DSI DVO port handling

Turns out modern (icl+) VBTs still declare their DSI ports
as MIPI-A and MIPI-C despite the PHYs now being A and B.
Remap appropriately to allow the panels declared as MIPI-C
to work.

Cc: stable@vger.kernel.org
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8016
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230207064337.18697-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c