drm/i915/tc: Get power ref for reading the HPD live status register
authorImre Deak <imre.deak@intel.com>
Thu, 23 Mar 2023 14:20:29 +0000 (16:20 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 3 Apr 2023 08:35:31 +0000 (11:35 +0300)
commit8979918af711b057620c7c5f9d29a0043f927753
tree4deea76fa7c64b2ef9561d6c7c62bf00926aaaa6
parent825535f44fef606e5b4484ebb8cb3827db59037e
drm/i915/tc: Get power ref for reading the HPD live status register

Enable the power required for the HPD live status register access
instead of depending on the caller blocking the TC-cold power state
(during HW readout and connector probing).

A follow up patch will remove connecting/disconnecting the PHY around
connector probing, so querying the HPD status can happen in this case
without TC-cold being blocked.

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230323142035.1432621-24-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_tc.c