From: Jani Nikula <jani.nikula@linux.intel.com>
To: Arun R Murthy <arun.r.murthy@intel.com>,
uma.shankar@intel.com, suraj.kandpal@intel.com,
ankit.k.nautiyal@intel.com
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
Arun R Murthy <arun.r.murthy@intel.com>,
Cole Leavitt <cole@unwrap.rs>
Subject: Re: [PATCH v3 1/2] drm/i915/cx0_phy_regs: Include SoC and OS turnaround time
Date: Mon, 23 Feb 2026 12:37:49 +0200 [thread overview]
Message-ID: <10cbabb7704cb26523dba025be95083d13042418@intel.com> (raw)
In-Reply-To: <20260216-timeout-v3-1-055522c22560@intel.com>
On Mon, 16 Feb 2026, Arun R Murthy <arun.r.murthy@intel.com> wrote:
> 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>
> ---
> drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h b/drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h
> index 658890f7351530e5686c23e067deb359b3283d59..152a4e751bdcf216a95714a2bd2d6612cbbd4698 100644
> --- a/drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h
> +++ b/drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h
> @@ -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
Side note, *none* of these belong in intel_cx0_phy_regs.h. They should
be moved to intel_cx0_phy.c instead.
The timeouts do not describe the register contents.
BR,
Jani.
>
> #define _XELPDP_PORT_BUF_CTL1_LN0_A 0x64004
> #define _XELPDP_PORT_BUF_CTL1_LN0_B 0x64104
--
Jani Nikula, Intel
next prev parent reply other threads:[~2026-02-23 10:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-16 4:59 [PATCH v3 0/2] Update the PHY timeouts Arun R Murthy
2026-02-16 4:59 ` [PATCH v3 1/2] drm/i915/cx0_phy_regs: Include SoC and OS turnaround time Arun R Murthy
2026-02-23 10:37 ` Jani Nikula [this message]
2026-02-24 2:41 ` Kandpal, Suraj
2026-02-16 4:59 ` [PATCH v3 2/2] drm/i915/lt_phy_regs: Add SoC/OS " Arun R Murthy
2026-02-23 10:38 ` Jani Nikula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10cbabb7704cb26523dba025be95083d13042418@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=arun.r.murthy@intel.com \
--cc=cole@unwrap.rs \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=suraj.kandpal@intel.com \
--cc=uma.shankar@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox