OSDN Git Service

drm/i915: Make shared dpll functions take crtc_state, v3.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 5 Oct 2018 09:52:44 +0000 (11:52 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 5 Oct 2018 13:17:38 +0000 (15:17 +0200)
commit65c307fd08dd6cc7771220ee0238a152db552d97
tree50d6cafecd8cf973e23d1f422e873fc81fa08a90
parentb2354c78b1251719f38775b27837fc39e25e3d35
drm/i915: Make shared dpll functions take crtc_state, v3.

Do not rely on crtc->config any more. Remove the assertion from
ibx_pch_dpll_disable, because we the dpll state tracking should
already handle this case correctly.

Changes since v1:
- Fixup accidental early return in intel_prepare_shared_dpll, oops!
Changes since v2:
- Don't use the freed crtc_state in intel_crtc_disable_noatomic()

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181005095244.1324-1-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dpll_mgr.c
drivers/gpu/drm/i915/intel_dpll_mgr.h