diff options
author | Imre Deak | 2023-03-16 15:17:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-04-06 12:10:46 +0200 |
commit | 75084659969f5cd0287a86e7faae3ef0a5651d1e (patch) | |
tree | 3047c12ed771269c61ac82735e24565ee4b371e4 /include | |
parent | ce1b88dd4013fa87bf80d3e675460f399daa508a (diff) |
drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state
[ Upstream commit 38c583019484f190d5b33f59b8ae810e6b1763c6 ]
The commit renaming icl_tc_phy_is_in_safe_mode() to
icl_tc_phy_take_ownership() didn't flip the function's return value
accordingly, fix this up.
This didn't cause an actual problem besides state check errors, since
the function is only used during HW readout.
Cc: José Roberto de Souza <jose.souza@intel.com>
Fixes: f53979d68a77 ("drm/i915/display/tc: Rename safe_mode functions ownership")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316131724.359612-4-imre.deak@intel.com
(cherry picked from commit f2c7959dda614d9b7c6a41510492de39d31705ec)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions