mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
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ä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220128103757.22461-2-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -115,8 +115,9 @@ static void
|
||||
intel_drrs_set_refresh_rate_m_n(const struct intel_crtc_state *crtc_state,
|
||||
enum drrs_refresh_rate_type refresh_type)
|
||||
{
|
||||
intel_dp_set_m_n(crtc_state,
|
||||
refresh_type == DRRS_LOW_RR ? M2_N2 : M1_N1);
|
||||
intel_cpu_transcoder_set_m_n(crtc_state, refresh_type == DRRS_LOW_RR ?
|
||||
&crtc_state->dp_m2_n2 : &crtc_state->dp_m_n,
|
||||
NULL);
|
||||
}
|
||||
|
||||
static void intel_drrs_set_state(struct drm_i915_private *dev_priv,
|
||||
|
||||
Reference in New Issue
Block a user