]> git.baikalelectronics.ru Git - kernel.git/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)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 18 Feb 2022 00:10:25 +0000 (16:10 -0800)
commita516df128ce4d008612dc2db8c121adb37a7a792
tree820a98a92b2050a2ecc700810bc128e75fba54c5
parentd4c26671866f8a96321b3616047ed20738a3be2c
drm/i915/dg2: Print PHY name properly on calibration error

We need to use phy_name() to convert the PHY value into a human-readable
character in the error message.

Fixes: 002fdd3374f3 ("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
drivers/gpu/drm/i915/display/intel_snps_phy.c