RFC Link training test
Get series with b4
b4 am 1441715280-11623-1-git-send-email-ander.conselvan.de.oliveira@intel.comVersions newest first
- v1 RFC Latest8 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | drm/i915: Rename DP link training functionsdrivers/ drivers/ drivers/ +1 more | +13 | 0 replies | |
| 2/8 | drm/i915: Don't pass *DP around to link training functionsdrivers/ | +33 | 0 replies | |
| 3/8 | drm/i915: Split intel_dp_update_link_train()drivers/ | +14 | 0 replies | |
| 4/8 | drm/i915: Split write of pattern to DP reg from intel_dp_set_link_traindrivers/ | +13 | 0 replies | |
| 5/8 | drm/i915: Don't call intel_dp_set_signal_levels() on link train resetdrivers/ | +10 | 0 replies | |
| 6/8 | drm/i915: Move generic link training code to a separate filedrivers/ drivers/ drivers/ +1 more | +362 | 0 replies | |
| 7/8 | drm/i915: Move max voltage and pre emphasis to intel_dp_link_training.cdrivers/ drivers/ drivers/ | +99 | 4 replies | |
| 8/8 | drm/i915: Extract intel_dev_info.[ch]drivers/ drivers/ drivers/ +2 more | +758 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] [RFC] Link training test
Hi,
There's been some discussion on improving our link training code, with one of the ideas being a complete rewrite of the state machine. However, a concern was raised over the risk of regressions. The code we have has seen a lot of real world testing, and it would take a long time for any new code to get that same exposure. On top of that, there is no explicit igt coverage for link training since it is very dependent on the hw setup.
Since gathering an extensive set of hardware combinations for getting the appropriate test coverage is really difficult, I believe that we should aim at testing the link training code in isolation. That's what this RFC is about.
Most of the kernel patches in this series are small changes to the hw independent part of the link training code that make it possible to move it to a separate file. Then, in the igt patch, a test is created the wraps a fake DP sink device around the link training code. The behavior of that sink device is pretty simple for now, it just tries to get the maximum voltage swing and pre-emphasis level supported. We could do some git archeology of the link training code to try to find some more tests that would make sense.
I had to make a lot of hacks to get that thing to compile, so that's one of the things I'd like to hear comments on. And also on the general approach.
Thanks,
Ander
Signature · 6 lines
2.4.3 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx