]> git.itanic.dy.fi Git - linux-stable/commit
drm/i915/dg2: Print PHY name properly on calibration error
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 15 Feb 2022 16:35:45 +0000 (08:35 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2022 10:51:03 +0000 (11:51 +0100)
commit950480c325855ee5c48e7f1b40f728e254acd4cf
treef3ec2861e26e89b7942509427dd1e529daa26b36
parent2f52329791bb04fff1dbf91bd1de916371db2f31
drm/i915/dg2: Print PHY name properly on calibration error

commit 28adef861233c6fce47372ebd2070b55eaa8e899 upstream.

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")
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Swathi Dhanavanthri <swathi.dhanavanthri@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220215163545.2175730-1-matthew.d.roper@intel.com
(cherry picked from commit 84073e568eec7b586b2f6fd5fb2fb08f59edec54)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/display/intel_snps_phy.c