From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 4/7] drm/i915/cx0: s/XELPDP_PORT_RESET_END_TIMEOUT/XELPDP_PORT_RESET_END_TIMEOUT_US/
Date: Thu, 06 Nov 2025 12:57:45 +0200 [thread overview]
Message-ID: <d29d2d7f85abaf7eafce54261e4f04ccbcd6a345@intel.com> (raw)
In-Reply-To: <20251105190433.16434-5-ville.syrjala@linux.intel.com>
On Wed, 05 Nov 2025, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Include the units the in the define name for XELPDP_PORT_RESET_END_TIMEOUT
> to make it match all its other counterparts.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_cx0_phy.c | 4 ++--
> drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c b/drivers/gpu/drm/i915/display/intel_cx0_phy.c
> index 55ce4f673c63..7c9c181aba8a 100644
> --- a/drivers/gpu/drm/i915/display/intel_cx0_phy.c
> +++ b/drivers/gpu/drm/i915/display/intel_cx0_phy.c
> @@ -2926,10 +2926,10 @@ static void intel_cx0_phy_lane_reset(struct intel_encoder *encoder,
>
> if (intel_de_wait_for_clear(display, XELPDP_PORT_BUF_CTL2(display, port),
> lane_phy_current_status,
> - XELPDP_PORT_RESET_END_TIMEOUT))
> + XELPDP_PORT_RESET_END_TIMEOUT_US))
> drm_warn(display->drm,
> "PHY %c failed to bring out of Lane reset after %dms.\n",
> - phy_name(phy), XELPDP_PORT_RESET_END_TIMEOUT);
> + phy_name(phy), XELPDP_PORT_RESET_END_TIMEOUT_US);
> }
>
> static void intel_cx0_program_phy_lane(struct intel_encoder *encoder, int lane_count,
> 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 bd62c396c837..77244a5d52d4 100644
> --- a/drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h
> +++ b/drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h
> @@ -80,7 +80,7 @@
> #define XELPDP_PORT_BUF_SOC_READY_TIMEOUT_US 100
> #define XELPDP_PORT_RESET_START_TIMEOUT_US 5
> #define XELPDP_PORT_POWERDOWN_UPDATE_TIMEOUT_US 100
> -#define XELPDP_PORT_RESET_END_TIMEOUT 15
> +#define XELPDP_PORT_RESET_END_TIMEOUT_US 15
> #define XELPDP_REFCLK_ENABLE_TIMEOUT_US 1
>
> #define _XELPDP_PORT_BUF_CTL1_LN0_A 0x64004
--
Jani Nikula, Intel
next prev parent reply other threads:[~2025-11-06 10:57 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-05 19:04 [PATCH 0/7] drm/i915: Stop the intel_de_wait_custom() abuse Ville Syrjala
2025-11-05 19:04 ` [PATCH 1/7] drm/i915/cx0: Undo the unjustified timeout change Ville Syrjala
2025-11-06 10:53 ` Jani Nikula
2025-11-06 11:53 ` Kandpal, Suraj
2025-11-06 13:17 ` Jani Nikula
2025-11-05 19:04 ` [PATCH 2/7] drm/i915/cx0: Get rid of XELPDP_MSGBUS_TIMEOUT_FAST_US Ville Syrjala
2025-11-06 10:56 ` Jani Nikula
2025-11-05 19:04 ` [PATCH 3/7] drm/i915/cx0: s/XELPDP_MSGBUS_TIMEOUT_SLOW/XELPDP_MSGBUS_TIMEOUT_MS/ Ville Syrjala
2025-11-06 10:57 ` Jani Nikula
2025-11-05 19:04 ` [PATCH 4/7] drm/i915/cx0: s/XELPDP_PORT_RESET_END_TIMEOUT/XELPDP_PORT_RESET_END_TIMEOUT_US/ Ville Syrjala
2025-11-06 10:57 ` Jani Nikula [this message]
2025-11-05 19:04 ` [PATCH 5/7] drm/i915/ltphy: Nuke bogus weird timeouts Ville Syrjala
2025-11-05 19:57 ` Jani Nikula
2025-11-06 11:00 ` Jani Nikula
2025-11-06 12:03 ` Kandpal, Suraj
2025-11-06 13:12 ` Ville Syrjälä
2025-11-06 13:17 ` Ville Syrjälä
2025-11-06 13:19 ` Jani Nikula
2025-11-07 3:40 ` Kandpal, Suraj
2025-11-07 9:33 ` Jani Nikula
2025-11-10 6:32 ` Kandpal, Suraj
2025-11-05 19:04 ` [PATCH 6/7] drm/i915/hdcp: Use the default 2 usec fast polling timeout Ville Syrjala
2025-11-06 11:00 ` Jani Nikula
2025-11-05 19:04 ` [PATCH 7/7] drm/i915/pmdemand: " Ville Syrjala
2025-11-06 11:01 ` Jani Nikula
2025-11-05 20:20 ` ✗ i915.CI.BAT: failure for drm/i915: Stop the intel_de_wait_custom() abuse Patchwork
2025-11-05 22:57 ` ✓ CI.KUnit: success " Patchwork
2025-11-05 23:12 ` ✗ CI.checksparse: warning " Patchwork
2025-11-06 0:21 ` ✗ Xe.CI.BAT: failure " Patchwork
2025-11-06 12:59 ` ✗ Xe.CI.Full: " Patchwork
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=d29d2d7f85abaf7eafce54261e4f04ccbcd6a345@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=ville.syrjala@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.