[PATCH 00/22] DP refactoring v2

Ander Conselvan de Oliveira
2015-10-23T10:02:36Z

Hi,

Here is an updated version of the DP patches I have pending. I updated
the first patch with the comments from Sivakumar, and that required a
rebase, so I'm sending the patches out again. Other than that, the order
of the first few patches changed slightly so that there is no need to
create the new intel_dp_update_signal_levels() function.

I also included the patches of the second series I sent recently, that
moves the code for detemining maximum voltage swing and pre emphasis
levels to a new file.

Thanks,
Ander

Ander Conselvan de Oliveira (22):
drm/i915: Don't pass *DP around to link training functions
drm/i915: Split write of pattern to DP reg from
intel_dp_set_link_train
drm/i915 Call get_adjust_train() from clock recovery and channel eq
drm/i915: Move register write into intel_dp_set_signal_levels()
drm/i915: Move generic link training code to a separate file
drm/i915: Create intel_dp->prepare_link_retrain() hook
drm/i915: Make intel_dp_source_supports_hbr2() take an intel_dp
pointer
drm/i915: Move link training setup code to separate functions (v2)
drm/i915: Move test for max voltage on all lanes to separate function
drm/i915: Add function for getting the current link training voltage
drm/i915: Split full retries loop out of clock recovery code (v2)
drm/i915: Make the link training test for same voltage smaller
drm/i915: Move the voltage changed check into intel_get_adjust_train()
drm/i915: Add missing newline to link training debug message
drm/i915: Split setting of vswing and pre_emph levels to separate file
drm/i915: Introduce struct intel_dp_signal_levels
drm/i915: Use struct intel_dp_signal_levels for eDP on SNB and IVB
drm/i915: Use struct intel_dp_signal_levels for VLV
drm/i915: Use struct intel_dp_signal_levels for CHV
drm/i915: Use struct intel_dp_signal_levels for DDI platforms
drm/i915: Remove old functions for maximum DP vswing and pre-emph
levels
drm/i915: Move ddi_signal_levels() to intel_dp_signal_levels.c

drivers/gpu/drm/i915/Makefile | 2 +
drivers/gpu/drm/i915/intel_ddi.c | 86 +--
drivers/gpu/drm/i915/intel_dp.c | 864 +-------------------------
drivers/gpu/drm/i915/intel_dp_link_training.c | 349 +++++++++++
drivers/gpu/drm/i915/intel_dp_signal_levels.c | 689 ++++++++++++++++++++
drivers/gpu/drm/i915/intel_drv.h | 46 +-
6 files changed, 1117 insertions(+), 919 deletions(-)
create mode 100644 drivers/gpu/drm/i915/intel_dp_link_training.c
create mode 100644 drivers/gpu/drm/i915/intel_dp_signal_levels.c