]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dg2: Wait for SNPS PHY calibration during display init
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 23 Jul 2021 17:42:36 +0000 (10:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 29 Jul 2021 16:32:48 +0000 (09:32 -0700)
commita6a128116e55970a2df9f39e31e3c8373c0ff558
treee57bde2bbcc28d2407c98e364c2ab85206d888ca
parentf82f2563bc6000e01820df7a5a969ec89a77d1d7
drm/i915/dg2: Wait for SNPS PHY calibration during display init

Initialization of the PHY is handled by the hardware/firmware, but the
driver should wait up to 25ms for the PHY to report that its calibration
has completed.

Bspec: 49189
Bspec: 50107
Cc: Matt Atwood <matthew.s.atwood@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210723174239.1551352-28-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_snps_phy.c
drivers/gpu/drm/i915/display/intel_snps_phy.h
drivers/gpu/drm/i915/i915_reg.h