drm/i915: Reduce combo PHY log spam
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 2 May 2023 14:39:06 +0000 (17:39 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Sep 2023 14:10:34 +0000 (17:10 +0300)
commita7891a0aa5fa1c7e4f524602b47a9acea3bc3d50
treec55de16cf5c3b7973c872864ab5e23638072c078
parentd0a309a90f1d3f6502b79a89b8976dde409ed65b
drm/i915: Reduce combo PHY log spam

We always check whether combo PHYs need to be re-initialized
after disabling DC states, which leads to log spam. Switch things
around so that we only log something when we actually have to
re-initialized a PHY.

The log spam was exacerbated by commit 41b4c7fe72b6 ("drm/i915:
Disable DC states for all commits") since we now disable DC
states far more often.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230502143906.2401-12-ville.syrjala@linux.intel.com
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
drivers/gpu/drm/i915/display/intel_combo_phy.c