From mboxrd@z Thu Jan 1 00:00:00 1970 From: Imre Deak Subject: [igt PATCH 0/4] add support for testing clone output configs Date: Mon, 5 Aug 2013 14:45:22 +0300 Message-ID: <1375703126-19323-1-git-send-email-imre.deak@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id C2652E6D81 for ; Mon, 5 Aug 2013 04:45:47 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Based on irc discussions with Chris/Daniel we needed a new test case that iterates through all clone output configurations, so this patchset adds one. I tested it on ilk, ivb, hsw. One case triggered a DP link training error on ilk. Got some HW state readout/check WARNS on others. On my hsw desktop some hdmi+dp configurations fail, although they seem to be valid. Also here enabling hdmi sometimes ends up outputting something on the dp connector, so perhaps it's some sort of hdmi vs. dp physical port sharing that Ville told me about, but I haven't figured yet out the exact reason for any of these. Note that this will take a while to run especially if you have 3 displays connected... Imre Deak (4): lib: shorten DP/eDP connector names lib: handle SIGSEGV similarly to other error signals lib: add subtest extra command line option handling tests: add kms_setmode lib/drmtest.c | 91 ++++++- lib/drmtest.h | 6 + tests/.gitignore | 1 + tests/Makefile.am | 1 + tests/kms_setmode.c | 739 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 825 insertions(+), 13 deletions(-) create mode 100644 tests/kms_setmode.c -- 1.8.3.2