]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ddi: Flush encoder power domain ref puts during driver unload
authorImre Deak <imre.deak@intel.com>
Wed, 26 May 2021 14:37:27 +0000 (17:37 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 3 Jun 2021 16:22:48 +0000 (19:22 +0300)
commit4a300e65b59b6625a9c258902e6e976054333642
tree4ac32a909b78874f01ef9c59f6537314c57e9e75
parent3ed131e5a43b469afcb1dd6d24399e05ce1f0eb0
drm/i915/ddi: Flush encoder power domain ref puts during driver unload

An async-put on an encoder specific power domain (for instance the AUX
PW domain) may be pending when removing the encoder. Make sure any such
async-puts are complete while the corresponding encoder is still in place
since at least AUX power wells require this to do a power well->PHY
lookup.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210526143729.2563672-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c