]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clear the shared PLL from the put_dplls() hook
authorImre Deak <imre.deak@intel.com>
Mon, 8 Jul 2019 14:07:34 +0000 (17:07 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 9 Jul 2019 15:48:53 +0000 (18:48 +0300)
commitc7ad02042901dbae4a632cace5d9320cefa28638
treee09c7e96d59ed6e27f619f07d234cfc4ef1a4acd
parent8d5f93db2bf3b746dac4753cd063a14748f21672
drm/i915: Clear the shared PLL from the put_dplls() hook

For symmetry with the get_dplls() hook which sets the shared_dpll
pointer clear the same pointer from the put_dplls() hook.

While at it also constify the old crtc state.

v2:
- Constify the old crtc state. (Ville)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190708140735.20198-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.c