drm/i915: Flip VBT DDC pin maps around
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 9 May 2023 16:02:05 +0000 (19:02 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 11 May 2023 14:26:57 +0000 (17:26 +0300)
commit3d7af6cfed6c2df11388b7ac0630ad8015f9e915
treea3002c3d8972d0e5bb9cc5c36ba7e5da4513364f
parent5a0fc7a0df6b3525bf3b33fb27eb8d47f7826dc2
drm/i915: Flip VBT DDC pin maps around

Swap the roles of the index vs. value for the VBT DDC pin
mapping tables. This is not strictly necessary for DDC pins
but it will make this work exactly like the AUX CH mapping
tables where the role reversal is necessary (or at least makes
things easier). Consistency is good.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230509160206.25971-2-ville.syrjala@linux.intel.com
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c