[PATCH 00/10] drm/i915: Last part of DDI encoder->type cleanup

Ville Syrjala
2017-10-19T13:37:24Z

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Here's the last chunk of my DDI encoder->type frobbery elimnination. Afterwards
DP/HDMI DDI encoders will have "DDI" as their type permanently, and instead one
needs to consult the crtc state output_types to determine in which mode we're
driving the port. For eDP DDI encoder we leave the type as "EDP" permently
since there's quite a bit of code that relies on that being the case. It also
allows us to tell DP vs. eDP apart in the DP link training code where we don't
currently have the crtc state around as such.

I also tossed in a bit of semi-related MST polish on top.

Entire series available here:
git://github.com/vsyrjala/linux.git ddi_output_types_4

Ville Syrjälä (10):
drm/i915: Don't use encoder->type in intel_ddi_set_pipe_settings()
drm/i915: Pass crtc state to intel_prepare_dp_ddi_buffers()
drm/i915: Start using output_types for DPLL selection
drm/i915: Stop using encoder->type in
intel_ddi_enable_transcoder_func()
drm/i915: Stop frobbing with DDI encoder->type
drm/i915: Nuke intel_ddi_get_encoder_port()
drm/i915: Eliminate pll->state usage from bxt_calc_pll_link()
drm/i915: Pass a crtc state to ddi post_disable from MST code
drm/i915: Use intel_ddi_get_config() for MST
drm/i915: Use intel_crtc_has_dp_encoder() for LPE audio

drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
drivers/gpu/drm/i915/intel_audio.c | 2 +-
drivers/gpu/drm/i915/intel_crt.c | 2 +
drivers/gpu/drm/i915/intel_ddi.c | 219 ++++++++++++++++------------------
drivers/gpu/drm/i915/intel_display.c | 16 +--
drivers/gpu/drm/i915/intel_dp.c | 24 ++--
drivers/gpu/drm/i915/intel_dp_mst.c | 48 +-------
drivers/gpu/drm/i915/intel_dpll_mgr.c | 36 ++----
drivers/gpu/drm/i915/intel_drv.h | 8 +-
drivers/gpu/drm/i915/intel_dsi.c | 2 +
drivers/gpu/drm/i915/intel_dvo.c | 2 +
drivers/gpu/drm/i915/intel_hdmi.c | 12 +-
drivers/gpu/drm/i915/intel_lvds.c | 2 +
drivers/gpu/drm/i915/intel_opregion.c | 4 +-
drivers/gpu/drm/i915/intel_sdvo.c | 2 +
drivers/gpu/drm/i915/intel_tv.c | 2 +
16 files changed, 167 insertions(+), 216 deletions(-)

--
2.13.6