diff options
author | 2020-01-21 16:03:53 +0200 | |
---|---|---|
committer | 2020-01-31 17:00:44 +0200 | |
commit | 28a30b45f5e9e5a7e51fb93c06ae50a01d89b005 (patch) | |
tree | 814deacc2d6807e2f91b4a10b1f7975e363ef582 /drivers/gpu/drm/i915/display/intel_atomic.c | |
parent | drm/i915: Introduce intel_calc_active_pipes() (diff) | |
download | linux-dev-28a30b45f5e9e5a7e51fb93c06ae50a01d89b005.tar.xz linux-dev-28a30b45f5e9e5a7e51fb93c06ae50a01d89b005.zip |
drm/i915: Convert cdclk to global state
Let's convert cdclk_state to be a proper global state. That allows
us to use the regular atomic old vs. new state accessor, hopefully
making the code less confusing.
We do have to deal with a few more error cases in case the cdclk
state duplication fails. But so be it.
v2: Fix new plane min_cdclk vs. old crtc min_cdclk check
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200121140353.25997-1-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_atomic.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_atomic.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_atomic.c b/drivers/gpu/drm/i915/display/intel_atomic.c index 476d0271de0a..9c737aa4cf72 100644 --- a/drivers/gpu/drm/i915/display/intel_atomic.c +++ b/drivers/gpu/drm/i915/display/intel_atomic.c @@ -520,7 +520,6 @@ void intel_atomic_state_clear(struct drm_atomic_state *s) state->dpll_set = state->modeset = false; state->global_state_changed = false; state->active_pipes = 0; - intel_cdclk_clear_state(state); } struct intel_crtc_state * |