From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Matt Roper <matthew.d.roper@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dg2: Print PHY name properly on calibration error
Date: Mon, 21 Feb 2022 09:42:21 +0000 [thread overview]
Message-ID: <bb4c0d15-07f5-6f03-4a20-390a5b5967ff@linux.intel.com> (raw)
In-Reply-To: <20220215163545.2175730-1-matthew.d.roper@intel.com>
On 15/02/2022 16:35, Matt Roper wrote:
> We need to use phy_name() to convert the PHY value into a human-readable
> character in the error message.
>
> Fixes: a6a128116e55 ("drm/i915/dg2: Wait for SNPS PHY calibration during display init")
I picked this for drm-intel-fixes, and as it did not apply cleanly,
noticed in the process that a6a128116e55 is all the way back in 5.15. I
reckon you didn't want to copy stable because it is just a log message
tweak?
Regards,
Tvrtko
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_snps_phy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_snps_phy.c b/drivers/gpu/drm/i915/display/intel_snps_phy.c
> index 8573a458811a..8fd00de981fc 100644
> --- a/drivers/gpu/drm/i915/display/intel_snps_phy.c
> +++ b/drivers/gpu/drm/i915/display/intel_snps_phy.c
> @@ -35,7 +35,7 @@ void intel_snps_phy_wait_for_calibration(struct drm_i915_private *i915)
> if (intel_de_wait_for_clear(i915, ICL_PHY_MISC(phy),
> DG2_PHY_DP_TX_ACK_MASK, 25))
> drm_err(&i915->drm, "SNPS PHY %c failed to calibrate after 25ms.\n",
> - phy);
> + phy_name(phy));
> }
> }
>
next prev parent reply other threads:[~2022-02-21 9:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-15 16:35 [Intel-gfx] [PATCH] drm/i915/dg2: Print PHY name properly on calibration error Matt Roper
2022-02-15 22:56 ` Dhanavanthri, Swathi
2022-02-16 20:52 ` Dhanavanthri, Swathi
2022-02-17 13:20 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/dg2: Print PHY name properly on calibration error (rev3) Patchwork
2022-02-17 13:49 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-02-17 23:33 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-02-21 9:42 ` Tvrtko Ursulin [this message]
2022-02-22 16:00 ` [Intel-gfx] [PATCH] drm/i915/dg2: Print PHY name properly on calibration error Matt Roper
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=bb4c0d15-07f5-6f03-4a20-390a5b5967ff@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
/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