diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-10-04 18:55:59 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-10-06 23:59:20 +0300 |
commit | 4d6e198a3ae38c477543abe771679f377bfa72ec (patch) | |
tree | 890cbf2d8c6a3e95bfea8f486b422c47fa876192 /drivers/gpu/drm/i915/display/intel_modeset_verify.c | |
parent | cfc7109bf6d1f51548308beb52326035304313cb (diff) | |
download | linux-4d6e198a3ae38c477543abe771679f377bfa72ec.tar.gz linux-4d6e198a3ae38c477543abe771679f377bfa72ec.tar.bz2 linux-4d6e198a3ae38c477543abe771679f377bfa72ec.zip |
drm/i915: Simplify DPLL state checker calling convention
Make life simpler by just passing in the atomic state + crtc
instead of plumbing in all kinds of crtc states.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231004155607.7719-5-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_modeset_verify.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_modeset_verify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_modeset_verify.c b/drivers/gpu/drm/i915/display/intel_modeset_verify.c index 92b55b4fb74e..47d45ba1e707 100644 --- a/drivers/gpu/drm/i915/display/intel_modeset_verify.c +++ b/drivers/gpu/drm/i915/display/intel_modeset_verify.c @@ -236,7 +236,7 @@ void intel_modeset_verify_crtc(struct intel_crtc *crtc, intel_wm_state_verify(crtc, new_crtc_state); verify_connector_state(state, crtc); verify_crtc_state(state, crtc); - intel_shared_dpll_state_verify(crtc, old_crtc_state, new_crtc_state); + intel_shared_dpll_state_verify(state, crtc); intel_mpllb_state_verify(state, new_crtc_state); intel_c10pll_state_verify(state, new_crtc_state); } @@ -246,5 +246,5 @@ void intel_modeset_verify_disabled(struct drm_i915_private *dev_priv, { verify_encoder_state(dev_priv, state); verify_connector_state(state, NULL); - intel_shared_dpll_verify_disabled(dev_priv); + intel_shared_dpll_verify_disabled(state); } |