From: Arun R Murthy <arun.r.murthy@intel.com>
To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Cc: Arun R Murthy <arun.r.murthy@intel.com>,
Srikanth V NagaVenkata <nagavenkata.srikanth.v@intel.com>,
Suraj Kandpal <suraj.kandpal@intel.com>,
Jani Nikula <jani.nikula@intel.com>
Subject: [PATCHv2 3/3] drm/i915/dp: Include the time taken by AUX Tx for timeout
Date: Wed, 25 Sep 2024 09:14:32 +0530 [thread overview]
Message-ID: <20240925034432.1777029-4-arun.r.murthy@intel.com> (raw)
In-Reply-To: <20240925034432.1777029-1-arun.r.murthy@intel.com>
As per DP spec the timeout for LANE_CHANNEL_EQ_DONE is 400ms. But this
timeout value is exclusively for the Aux RD Interval and excludes the
time consumed for the AUX Tx (i.e reading/writing FFE presets). Add
another 50ms for these AUX Tx to the 400ms timeout.
Ref: "Figure 3-52: 128b132b DP DPTC LANEx_CHANNEL_EQ_DONE Sequence" of
DP2.1a spec.
Co-developed-by: Srikanth V NagaVenkata <nagavenkata.srikanth.v@intel.com>
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp_link_training.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp_link_training.c b/drivers/gpu/drm/i915/display/intel_dp_link_training.c
index 1bac00e46533..0dde31f2df20 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_link_training.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_link_training.c
@@ -1414,7 +1414,7 @@ intel_dp_128b132b_lane_eq(struct intel_dp *intel_dp,
}
/* Time budget for the LANEx_EQ_DONE Sequence */
- deadline = jiffies + msecs_to_jiffies_timeout(400);
+ deadline = jiffies + msecs_to_jiffies_timeout(450);
for (try = 0; try < max_tries; try++) {
fsleep(delay_us);
--
2.25.1
next prev parent reply other threads:[~2024-09-25 3:54 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-25 3:44 [PATCHv2 0/3] Some correction in the DP Link Training sequence Arun R Murthy
2024-09-25 3:44 ` [PATCHv2 1/3] drm/i915/dp: use fsleep instead of usleep_range for LT Arun R Murthy
2024-09-25 3:44 ` [PATCHv3 2/3] drm/i915/dp: read Aux RD interval just before setting the FFE preset Arun R Murthy
2024-09-25 8:48 ` Jani Nikula
2024-09-25 12:04 ` Murthy, Arun R
2024-10-11 4:58 ` [PATCHv4] " Arun R Murthy
2024-09-25 3:44 ` Arun R Murthy [this message]
2024-09-26 7:52 ` ✓ CI.Patch_applied: success for Some correction in the DP Link Training sequence (rev3) Patchwork
2024-09-26 7:53 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-26 7:54 ` ✓ CI.KUnit: success " Patchwork
2024-09-26 8:05 ` ✓ CI.Build: " Patchwork
2024-09-26 8:07 ` ✓ CI.Hooks: " Patchwork
2024-09-26 8:09 ` ✗ CI.checksparse: warning " Patchwork
2024-09-26 8:38 ` ✗ CI.BAT: failure " Patchwork
2024-09-26 22:44 ` ✗ CI.FULL: " Patchwork
2024-10-11 5:13 ` ✓ CI.Patch_applied: success for Some correction in the DP Link Training sequence (rev4) Patchwork
2024-10-11 5:13 ` ✗ CI.checkpatch: warning " Patchwork
2024-10-11 5:14 ` ✓ CI.KUnit: success " Patchwork
2024-10-11 5:26 ` ✓ CI.Build: " Patchwork
2024-10-11 5:28 ` ✓ CI.Hooks: " Patchwork
2024-10-11 5:30 ` ✗ CI.checksparse: warning " Patchwork
2024-10-11 5:54 ` ✓ CI.BAT: success " Patchwork
2024-10-11 6:44 ` ✗ CI.FULL: failure " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2024-09-24 6:36 [PATCHv2 0/3] Some correction in the DP Link Training sequence Arun R Murthy
2024-09-24 6:36 ` [PATCHv2 3/3] drm/i915/dp: Include the time taken by AUX Tx for timeout Arun R Murthy
2024-09-24 6:13 [PATCHv2 0/3] Some correction in the DP Link Training sequence Arun R Murthy
2024-09-24 6:13 ` [PATCHv2 3/3] drm/i915/dp: Include the time taken by AUX Tx for timeout Arun R Murthy
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=20240925034432.1777029-4-arun.r.murthy@intel.com \
--to=arun.r.murthy@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=nagavenkata.srikanth.v@intel.com \
--cc=suraj.kandpal@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