Skip to content

Commit 97523c1

Browse files
ideakSasha Levin
authored andcommitted
drm/i915/icl+/tc: Convert AUX powered WARN to a debug message
commit d7fa575 upstream. 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 6cb52cba474b2bec1a3018d3dbf75292059a29a1) Signed-off-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 562eff3 commit 97523c1

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
@@ -1497,11 +1497,11 @@ static void intel_tc_port_reset_mode(struct intel_tc_port *tc,
14971497
intel_display_power_flush_work(display);
14981498
if (!intel_tc_cold_requires_aux_pw(dig_port)) {
14991499
enum intel_display_power_domain aux_domain;
1500-
bool aux_powered;
15011500

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

15071507
tc_phy_disconnect(tc);

0 commit comments

Comments
 (0)