mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
drm/i915/cx0_phy_regs: Include SoC and OS turnaround time
The port refclk enable timeout and the soc ready timeout value mentioned in the spec is the PHY timings and doesn't include the turnaround time from the SoC or OS. So add an overhead timeout value on top of the recommended timeouts from the PHY spec. The overhead value is based on the stress test results with multiple available panels. Reported-by: Cole Leavitt <cole@unwrap.rs> Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14713 Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://patch.msgid.link/20260216-timeout-v3-1-055522c22560@intel.com
This commit is contained in:
parent
008304c9ae
commit
122439234f
|
|
@ -78,10 +78,10 @@
|
|||
#define XELPDP_PCLK_PLL_ENABLE_TIMEOUT_US 3200
|
||||
#define XELPDP_PCLK_PLL_DISABLE_TIMEOUT_US 20
|
||||
#define XELPDP_PORT_BUF_SOC_READY_TIMEOUT_US 100
|
||||
#define XELPDP_PORT_RESET_START_TIMEOUT_US 5
|
||||
#define XELPDP_PORT_RESET_START_TIMEOUT_US 10
|
||||
#define XELPDP_PORT_POWERDOWN_UPDATE_TIMEOUT_MS 2
|
||||
#define XELPDP_PORT_RESET_END_TIMEOUT_MS 15
|
||||
#define XELPDP_REFCLK_ENABLE_TIMEOUT_US 1
|
||||
#define XELPDP_REFCLK_ENABLE_TIMEOUT_US 10
|
||||
|
||||
#define _XELPDP_PORT_BUF_CTL1_LN0_A 0x64004
|
||||
#define _XELPDP_PORT_BUF_CTL1_LN0_B 0x64104
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user