From: jsg Date: Fri, 7 Apr 2023 03:57:13 +0000 (+0000) Subject: drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=319bcfa7687e76bf54910381ee8847dea447f285;p=openbsd drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state From Imre Deak 75084659969f5cd0287a86e7faae3ef0a5651d1e in linux-6.1.y/6.1.23 38c583019484f190d5b33f59b8ae810e6b1763c6 in mainline linux --- diff --git a/sys/dev/pci/drm/i915/display/intel_tc.c b/sys/dev/pci/drm/i915/display/intel_tc.c index 8bfe8f7a996..38e22b0502d 100644 --- a/sys/dev/pci/drm/i915/display/intel_tc.c +++ b/sys/dev/pci/drm/i915/display/intel_tc.c @@ -440,9 +440,9 @@ static bool icl_tc_phy_is_owned(struct intel_digital_port *dig_port) PORT_TX_DFLEXDPCSSS(dig_port->tc_phy_fia)); if (val == 0xffffffff) { drm_dbg_kms(&i915->drm, - "Port %s: PHY in TCCOLD, assume safe mode\n", + "Port %s: PHY in TCCOLD, assume not owned\n", dig_port->tc_port_name); - return true; + return false; } return val & DP_PHY_MODE_STATUS_NOT_SAFE(dig_port->tc_phy_fia_idx);