drm/i915: Avoid early timeout due to wait_for_atomic
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/i915/bxt: Avoid early timeout during PLL enabledrivers/ | +2 | 7 replies | |
| 2/4 | drm/i915/lpt: Avoid early timeout during FDI PHY resetdrivers/ | +4 | 3 replies | |
| 3/4 | drm/i915/hsw: Avoid early timeout during LCPLL disable/restoredrivers/ | +4 | 1 reply | |
| 4/4 | drm/i915: Avoid early timeout during AUX transfersdrivers/ | +1 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Tvrtko Ursulin |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] drm/i915: Avoid early timeout due to wait_for_atomic
If called from non-atomic context wait_for_atomic{,_us} can fail even though the given condition becomes true before the timeout passes. I noticed this via sporadic timeouts during PLL locking on BXT (fixed by patch 1). The WARN in wait_for_atomic would be also triggered, alas I didn't have extra debugging enabled.
host2guc_action() has the same issue. I left that as-is since it seems to be on a critical path where the overhead of the jiffies based wait_for can be considerable. Due to the relatively long 10ms timeout there this doesn't lead to early timeouts in any case.
Imre Deak (4):
drm/i915/bxt: Avoid early timeout during PLL enable drm/i915/lpt: Avoid early timeout during FDI PHY reset drm/i915/hsw: Avoid early timeout during LCPLL disable/restore drm/i915: Avoid early timeout during AUX transfers
drivers/gpu/drm/i915/intel_display.c | 16 ++++++++-------- drivers/gpu/drm/i915/intel_dp.c | 2 +- drivers/gpu/drm/i915/intel_dpll_mgr.c | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-)
Signature · 6 lines
2.5.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx