diff options
author | Ville Syrjälä <[email protected]> | 2020-04-17 16:47:20 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2020-04-20 21:21:10 +0300 |
commit | eed22a46b979a3ccefd4820a73af167569ad4711 (patch) | |
tree | 612cf21f1fbd6aea31d5da8ee7320cd68f8263e6 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | 7c2fedd7608fca45ba91200994fafe81700f582c (diff) |
drm/i915: Pass encoder all the way to intel_ddi_transcoder_func_reg_val_get()
Pass the encoder all the way down to
intel_ddi_transcoder_func_reg_val_get(). Allows us eliminate the
intel_ddi_get_crtc_encoder() eyesore.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
Acked-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index 0dcbd8e1d82b..74559379384a 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -510,7 +510,7 @@ static void intel_mst_enable_dp(struct intel_atomic_state *state, drm_WARN_ON(&dev_priv->drm, pipe_config->has_pch_encoder); - intel_ddi_enable_transcoder_func(pipe_config); + intel_ddi_enable_transcoder_func(encoder, pipe_config); intel_enable_pipe(pipe_config); |