Skip to content

Commit d7fa575

Browse files
ideaktursulin
authored andcommitted
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: [email protected] # v6.8+ Reported-by: Charlton Lin <[email protected]> Tested-by: Khaled Almahallawy <[email protected]> Reviewed-by: Mika Kahola <[email protected]> Signed-off-by: Imre Deak <[email protected]> Link: https://lore.kernel.org/r/[email protected] (cherry picked from commit 6cb52cb) Signed-off-by: Tvrtko Ursulin <[email protected]>
1 parent c5c2b4b commit d7fa575

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/i915/display/intel_tc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,11 +1498,11 @@ static void intel_tc_port_reset_mode(struct intel_tc_port *tc,
14981498
intel_display_power_flush_work(display);
14991499
if (!intel_tc_cold_requires_aux_pw(dig_port)) {
15001500
enum intel_display_power_domain aux_domain;
1501-
bool aux_powered;
15021501

15031502
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);
15061506
}
15071507

15081508
tc_phy_disconnect(tc);

0 commit comments

Comments
 (0)