intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Add Automation Support for DP Compliance Testing (Rev 3)
@ 2016-12-10  0:32 Manasi Navare
  2016-12-10  0:32 ` [PATCH v3 1/5] drm/i915: Move all the DP compliance data to a separate struct Manasi Navare
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Manasi Navare @ 2016-12-10  0:32 UTC (permalink / raw)
  To: intel-gfx

This addresses all the review comments from the earlier patch series:
https://patchwork.freedesktop.org/series/16591/

DP 1.2 compliance testing can be acheived using DPR-120's CTS suite.
This compliance unit sends a short pulse to initiate link training
and video pattern generation compliance tests and sends a long pulse
to initate EDID compliance tests. It also sets the AUTOMATED TEST REQUEST
bit in Device IRQ to 1. These patches add support in the kernel to respond
to these test requests sent by DPR-120. The test handler has been added for
Link training/EDID and Video pattern compliance tests that gets invoked on
short/long pulse sent by DPR-120. The test handler for each of the tests
reads the corresponding DPCD registers to read the test parameters.

These tests need to be run with the IGT DP compliance automation tool.
Link Training Tests (4.3.1.1 - 4.3.2.3):
It reads the DPCD registers to get the link rate and lane count requested by
test and sends a hotplug uevent for the userspace to redo a modeset in order
to train the link at the requested test parameters.

EDID Tests (4.2.2.3 - 4.2.2.6):
It reads the EDID set by the DPR-120, if EDID read succeeds, it sets the
video mode to PREFERRED and sets the test_active flag. This flag wakes up
the IGT compliance tool that then fills the framebuffers and triggers a
modeset.

Video Pattern Tests (4.3.3.1):
It reads the DPCD registers to set the requested video pattern parameters.
It then sets the test active flag that wakes up the IGT tool, userspace
reads the video pattern values from corresponding debugfs files and fills the
framebuffers and triggers a modeset.


Manasi Navare (5):
  drm/i915: Move all the DP compliance data to a separate struct
  drm/i915: Add support for DP link training compliance
  drm/i915: Fixes to support DP Compliance EDID tests
  drm: Add definitions for DP compliance Video pattern tests
  drm/i915: Add support for DP Video pattern compliance tests

 drivers/gpu/drm/i915/i915_debugfs.c |  22 ++++--
 drivers/gpu/drm/i915/intel_dp.c     | 153 +++++++++++++++++++++++++++++++-----
 drivers/gpu/drm/i915/intel_dp_mst.c |   7 +-
 drivers/gpu/drm/i915/intel_drv.h    |  19 ++++-
 include/drm/drm_dp_helper.h         |  58 ++++++++++++++
 5 files changed, 232 insertions(+), 27 deletions(-)

-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-12-10  2:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-10  0:32 [PATCH v3 0/5] Add Automation Support for DP Compliance Testing (Rev 3) Manasi Navare
2016-12-10  0:32 ` [PATCH v3 1/5] drm/i915: Move all the DP compliance data to a separate struct Manasi Navare
2016-12-10  0:32 ` [PATCH v3 2/5] drm/i915: Add support for DP link training compliance Manasi Navare
2016-12-10  0:48   ` Manasi Navare
2016-12-10  0:32 ` [PATCH v3 3/5] drm/i915: Fixes to support DP Compliance EDID tests Manasi Navare
2016-12-10  0:51   ` Manasi Navare
2016-12-10  0:32 ` [PATCH v3 4/5] drm: Add definitions for DP compliance Video pattern tests Manasi Navare
2016-12-10  0:55   ` Manasi Navare
2016-12-10  0:33 ` [PATCH v3 5/5] drm/i915: Add support for DP Video pattern compliance tests Manasi Navare
2016-12-10  0:56   ` Manasi Navare
2016-12-10  2:15 ` ✗ Fi.CI.BAT: warning for Add Automation Support for DP Compliance Testing (Rev 3) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).