drm/i915/bios: save a higher level pointer in ddi_vbt_port_info[]
authorJani Nikula <jani.nikula@intel.com>
Wed, 17 Mar 2021 16:36:50 +0000 (18:36 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 18 Mar 2021 12:44:09 +0000 (14:44 +0200)
commitdbc137422b4b25d404dc3b200e2018763d7567f9
tree27e078f6d65e68867dbc96f59410456df3090fc0
parentd0ab409d05fe533ec8d253c2a3d9c33c650967a3
drm/i915/bios: save a higher level pointer in ddi_vbt_port_info[]

We'll be needing the intel_bios_encoder_data pointer going forward, and
it's just easier to store the higher level pointer in the
ddi_vbt_port_info[] array.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/89717516e99afccfecf1a7c6c938b8349f65e985.1615998927.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_bios.h
drivers/gpu/drm/i915/i915_drv.h