From: Imre Deak <imre.deak@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 4/4] drm/i915/dp_mst: Tune down error message during payload addition
Date: Thu, 14 Sep 2023 01:32:18 +0300 [thread overview]
Message-ID: <20230913223218.540365-4-imre.deak@intel.com> (raw)
In-Reply-To: <20230913223218.540365-1-imre.deak@intel.com>
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>
Signed-off-by: Imre Deak <imre.deak@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c
index 1c7f0b6afe475..ff3accebf0a89 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_mst.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c
@@ -726,8 +726,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
--
2.37.2
next prev parent reply other threads:[~2023-09-13 22:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-13 22:32 [Intel-gfx] [PATCH 1/4] drm/dp_mst: Fix NULL dereference during payload addition Imre Deak
2023-09-13 22:32 ` [Intel-gfx] [PATCH 2/4] drm/dp_mst: Sanitize error return " Imre Deak
2023-09-13 22:32 ` [Intel-gfx] [PATCH 3/4] drm/dp_mst: Tune down error message " Imre Deak
2023-09-13 22:32 ` Imre Deak [this message]
2023-09-14 0:46 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/4] drm/dp_mst: Fix NULL dereference " Patchwork
2023-09-14 1:03 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-09-14 6:01 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2023-09-18 13:56 ` Imre Deak
2023-09-15 19:11 ` [Intel-gfx] [PATCH 1/4] " Lyude Paul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230913223218.540365-4-imre.deak@intel.com \
--to=imre.deak@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox