drm/i915/dp_mst: Tune down error message during payload addition
authorImre Deak <imre.deak@intel.com>
Wed, 13 Sep 2023 22:32:18 +0000 (01:32 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 18 Sep 2023 13:43:16 +0000 (16:43 +0300)
If a sink is removed in the middle of payload addition
drm_dp_add_payload_part1() will fail as expected, either not finding the
payload's MST port or failing the payload-add AUX transaction.

Based on the above tune the error message down to a debug messge.

Cc: Lyude Paul <lyude@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230913223218.540365-4-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c

index 0bf02a29e371afa1e5c74271879cdb3d7f8e0967..7e2c4a152afb71cd289d37a44c9140b382a202a7 100644 (file)
@@ -720,8 +720,8 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,
        ret = drm_dp_add_payload_part1(&intel_dp->mst_mgr, mst_state,
                                       drm_atomic_get_mst_payload_state(mst_state, connector->port));
        if (ret < 0)
-               drm_err(&dev_priv->drm, "Failed to create MST payload for %s: %d\n",
-                       connector->base.name, ret);
+               drm_dbg_kms(&dev_priv->drm, "Failed to create MST payload for %s: %d\n",
+                           connector->base.name, ret);
 
        /*
         * Before Gen 12 this is not done as part of