drm/i915: Use encoder->devdata more
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Feb 2023 00:04:25 +0000 (02:04 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Feb 2023 20:14:17 +0000 (22:14 +0200)
commit02107ef11b438a2528a113d8a546d4dceb8bcce1
tree897cf79e95774f8cd828faa58969cd475b8af5a1
parent22fac49febaafd7e3f141952915f56ccd09f5cbf
drm/i915: Use encoder->devdata more

Switch a lot of the intel_bios_foo() stuff to just accept the
devdata (VBT child device info) directly, instead of taking
detours via vbt.ports[].

Also unify the function naming scheme.

v2: Drop the redundant "encoder" from the dp/hdmi specific functions

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230216000425.32216-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_bios.h
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_hdmi.c