]> 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)
commit002fdd3374f37e2173149e436db9c5a3c1d8ce8d
treee57bde2bbcc28d2407c98e364c2ab85206d888ca
parent54690b417e5c507d0a701bf112b1d80458e94b3b
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