Skip to content

RFC Link training test

Ander Conselvan de Oliveira dri-devel intel-gfx lkml nouveau 1 version In review

Get series with b4
b4 am 1441715280-11623-1-git-send-email-ander.conselvan.de.oliveira@intel.com

Versions newest first

  1. v1 RFC Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915: Rename DP link training functionsdrivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_dp_mst.c +1 more+13 -120 replies
2/8drm/i915: Don't pass *DP around to link training functionsdrivers/gpu/drm/i915/intel_dp.c+33 -330 replies
3/8drm/i915: Split intel_dp_update_link_train()drivers/gpu/drm/i915/intel_dp.c+14 -70 replies
4/8drm/i915: Split write of pattern to DP reg from intel_dp_set_link_traindrivers/gpu/drm/i915/intel_dp.c+13 -50 replies
5/8drm/i915: Don't call intel_dp_set_signal_levels() on link train resetdrivers/gpu/drm/i915/intel_dp.c+10 -100 replies
6/8drm/i915: Move generic link training code to a separate filedrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_dp_link_training.c +1 more+362 -3190 replies
7/8drm/i915: Move max voltage and pre emphasis to intel_dp_link_training.cdrivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_dp_link_training.c drivers/gpu/drm/i915/intel_drv.h+99 -1034 replies
8/8drm/i915: Extract intel_dev_info.[ch]drivers/gpu/drm/i915/i915_drv.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_dev_info.c +2 more+758 -6870 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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