]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit991d4a6792d8969c464f6ae157d2a82bdcd675fc
tree50d6cafecd8cf973e23d1f422e873fc81fa08a90
parent0a4d3cef99a01ea68e30e49f6311c30b3b839d4d
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