[intel-gfx] Displayport Compliance Testing V2

Todd Previte
2014-12-10T23:53:48Z

This is version 2 of the patch set for Displayport compliance testing support
in the i915 driver. This implementation of compliance testing conforms to the
VESA specification Displayport Link Compliance Testing Specification (Link CTS)
1.2 Core Rev1.1. The code has been partitioned into two segments - the kernel
side comprised of this patch set and a userspace application that handles the
heavy lifting for necessary mode sets. It can also handle link configuration
changes if necessary.

Overview Changes for V2:
- Removed the kernel<->userpsace signal mechanism for communication during testing. The
original code used signals for communication between the kernel and userspace which met
with significant resistance during review. That mechanism has been removed in favor of
a file polling mechanism that contains the necessary data for the user app to properly
communicate with the kernel during compliance testing.
- Review feedback from as far back as July has been rolled up and integrated into this
patch set where necessary/applicable. For those cases, the feedback has been directly
noted in the commit message
- Some patches have been either moved or deleted from the set as they have gone through
the review cycle. Where this has occurred, it has been noted in the commit message.

drm/i915: Add debugfs write and test param parsing function for DP test control
drm/i915: Add new debugfs file for Displaypor compliance test control
drm/i915: Update debugfs functions for Displayport compliance testing
drm/i915: Add debugfs function to check connector status for compliance testing
drm/i915: Update intel_dp_hpd_pulse() to check link status for non-MST operation
drm/i915: Update intel_dp_compute_config() to handle compliance test requests
drm/i915: Update the EDID automated compliance test function
drm/i915: Implement the 'open' and 'write' debugfs functions for Displayport compliance
drm/i915: Add config parsing utilities in debugfs for Displayport compliance
drm/i915: Add Displayport link configuration structure
drm/i915: Add and implement the debugfs 'show' functions for Displayport compliance
drm/i915: Add support functions in debugfs for handling Displayport compliance configuration
drm/i915: Add file ops for Displayport configuration in debugfs
drm/i915: Add debugfs information for Displayport compliance testing
drm/i915: Add a delay in Displayport AUX transactions for compliance testing
drm/i915: Update intel_dp_check_link_status() for Displayport compliance testing
drm/i915: Add automated testing support for Displayport compliance testing

drivers/gpu/drm/i915/i915_debugfs.c | 569 +++++++++++++++++++++++++++++++
drivers/gpu/drm/i915/intel_dp.c | 219 ++++++++++--
drivers/gpu/drm/i915/intel_drv.h | 19 ++
3 files changed, 779 insertions(+), 28 deletions(-)