On Tue, Dec 08, 2015 at 07:59:35PM +0200, ville.syrjala@xxxxxxxxxxxxxxx wrote: > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > While debugging problems on DDI platforms I got tired of the crap > caused by the the dual personality DDI encoders, so I went ahead > and split them into separate HDMI and DP encoders. > > As usual, the hole got a bit deeper after I noticed that I had to > kill intel_prepare_ddi() as well. > > This also needs the check_digital_port_conflicts() patch [1] because > otherwise kms_setmode results in a dead machine. > > Series avaialbe there (with [1] included): > git://github.com/vsyrjala/linux.git ddi_encoder_split_3 > > [1] http://lists.freedesktop.org/archives/intel-gfx/2015-December/082284.html > > Ville Syrjälä (15): > drm/i915: Pass the correct encoder to intel_ddi_clk_select() with MST > drm/i915: Check max number of lanes when registering DDI ports > drm/i915: Store max lane count in intel_digital_port > drm/i915: Remove pointless 'ddi_translations' local variable > drm/i915: Eliminate duplicated skl_get_buf_trans_dp() > drm/i915: Pass around dev_priv for ddi buffer programming > drm/i915: Add BUILD_BUG_ON()s for DDI translation table sizes > drm/i915: Reject >9 ddi translation entried if port != A/E on SKL > drm/i915: Kill intel_prepare_ddi() Merged up to here. Skipped the BUILD_BUG_ON patch since it didn't get any r-b love. Thanks for reviews. > drm/i915: Split the problematic dual-role DDI encoder into two > encoders > drm/i915: Explicitly use ddi bug trans entry 9 for hdmi > drm/i915: Split DP/eDP/FDI and HDMI/DVI DDI buffer programming apart > drm/i915: Add a sanity check for 'hdmi_default_entry' > drm/i915: Get the iboost setting based on the port type > drm/i915: Simplify intel_ddi_get_encoder_port() I'll repost the rest separately once I find a bit of time to address the review comments. > > drivers/gpu/drm/i915/i915_drv.c | 1 - > drivers/gpu/drm/i915/intel_ddi.c | 542 +++++++++++++++++++------------- > drivers/gpu/drm/i915/intel_display.c | 21 -- > drivers/gpu/drm/i915/intel_dp.c | 36 +-- > drivers/gpu/drm/i915/intel_dp_mst.c | 4 +- > drivers/gpu/drm/i915/intel_drv.h | 6 +- > drivers/gpu/drm/i915/intel_hdmi.c | 9 + > drivers/gpu/drm/i915/intel_opregion.c | 1 - > drivers/gpu/drm/i915/intel_runtime_pm.c | 12 - > 9 files changed, 344 insertions(+), 288 deletions(-) > > -- > 2.4.10 -- Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx