Commit d7fa5754 authored by Imre Deak's avatar Imre Deak Committed by Tvrtko Ursulin
Browse files

drm/i915/icl+/tc: Convert AUX powered WARN to a debug message



The BIOS can leave the AUX power well enabled on an output, even if this
isn't required (on platforms where the AUX power is only needed for an
AUX access). This was observed at least on PTL. To avoid the WARN which
would be triggered by this during the HW readout, convert the WARN to a
debug message.

Cc: stable@vger.kernel.org # v6.8+
Reported-by: default avatarCharlton Lin <charlton.lin@intel.com>
Tested-by: default avatarKhaled Almahallawy <khaled.almahallawy@intel.com>
Reviewed-by: default avatarMika Kahola <mika.kahola@intel.com>
Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250811080152.906216-6-imre.deak@intel.com


(cherry picked from commit 6cb52cba)
Signed-off-by: default avatarTvrtko Ursulin <tursulin@ursulin.net>
parent c5c2b4b3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1498,11 +1498,11 @@ static void intel_tc_port_reset_mode(struct intel_tc_port *tc,
	intel_display_power_flush_work(display);
	if (!intel_tc_cold_requires_aux_pw(dig_port)) {
		enum intel_display_power_domain aux_domain;
		bool aux_powered;

		aux_domain = intel_aux_power_domain(dig_port);
		aux_powered = intel_display_power_is_enabled(display, aux_domain);
		drm_WARN_ON(display->drm, aux_powered);
		if (intel_display_power_is_enabled(display, aux_domain))
			drm_dbg_kms(display->drm, "Port %s: AUX unexpectedly powered\n",
				    tc->port_name);
	}

	tc_phy_disconnect(tc);