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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 8 Feb 2023 13:39:44 +0000 (08:39 -0500)
commit6a7ff131f17f44c593173c5ee30e2c03ef211685
tree9c4a5f872eb8af0c9295ab3f1d1652d1b8480c9f
parent44e4c5684fcc82d8f099656c4ea39d9571e2a8ac
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>
(cherry picked from commit 118b5c136c04da705b274b0d39982bb8b7430fc5)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c