diff options
author | Ville Syrjälä <[email protected]> | 2022-01-28 12:37:41 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2022-02-01 11:13:41 +0200 |
commit | 8023d3bef18bafe54708faca0c4206e1a36ca155 (patch) | |
tree | da1462472929274108a379af6621987e70d8917e /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | c50df701d49e78bea6410b4b111c7be71e2a7c2b (diff) |
drm/i915: Nuke intel_dp_set_m_n()
I want to make a clean split betwen the CPU vs. PCH transcoder
programming. To that end eliminate intel_dp_set_m_n() and just
call the individual CPU/PCH transcoder functions directly.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-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 | 4 |
1 files changed, 3 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 b8bc7d397c81..7031bd786822 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -523,7 +523,9 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state, intel_ddi_set_dp_msa(pipe_config, conn_state); - intel_dp_set_m_n(pipe_config, M1_N1); + intel_cpu_transcoder_set_m_n(pipe_config, + &pipe_config->dp_m_n, + &pipe_config->dp_m2_n2); } static void intel_mst_enable_dp(struct intel_atomic_state *state, |