Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Charlton Lin <charlton.lin@intel.com>
Tested-by: Khaled Almahallawy <khaled.almahallawy@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250811080152.906216-6-imre.deak@intel.com
(cherry picked from commit 6cb52cba474b2bec1a3018d3dbf75292059a29a1)
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>

authored by

Imre Deak and committed by
Tvrtko Ursulin
d7fa5754 c5c2b4b3

+3 -3
+3 -3
drivers/gpu/drm/i915/display/intel_tc.c
··· 1498 1498 intel_display_power_flush_work(display); 1499 1499 if (!intel_tc_cold_requires_aux_pw(dig_port)) { 1500 1500 enum intel_display_power_domain aux_domain; 1501 - bool aux_powered; 1502 1501 1503 1502 aux_domain = intel_aux_power_domain(dig_port); 1504 - aux_powered = intel_display_power_is_enabled(display, aux_domain); 1505 - drm_WARN_ON(display->drm, aux_powered); 1503 + if (intel_display_power_is_enabled(display, aux_domain)) 1504 + drm_dbg_kms(display->drm, "Port %s: AUX unexpectedly powered\n", 1505 + tc->port_name); 1506 1506 } 1507 1507 1508 1508 tc_phy_disconnect(tc);