]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915: Pass the correct encoder to intel_ddi_clk_select() with MST
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Dec 2015 17:59:36 +0000 (19:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 May 2016 21:49:06 +0000 (14:49 -0700)
commitcd8602ccbd8950ffb3a40afa995afde226bce321
tree21baea094908ddf77d6b789948c8a45a2dde2517
parent668062601c05c5d734b70b9d804731927656797f
drm/i915: Pass the correct encoder to intel_ddi_clk_select() with MST

commit d919161b67b1ed4a374dae685840a601bbeb1347 upstream.

We're supposed to pass the primary DP encoder to intel_ddi_clk_select(),
not the fake MST encoder. Do so.

There's no real bug here though, since intel_ddi_clk_select() only
checks if the encoder type is EDP (which it isn't for either the
primary DP encoder or the fake MST encoder), and it gets the DDI port
via intel_ddi_get_encoder_port() (which knows how to do the
fake->primary->port dance itself).

Fixes: e404ba8 ("drm/i915: Setup DDI clk for MST on SKL")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1449597590-6971-2-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_dp_mst.c