From patchwork Fri Oct 4 19:59:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todd Previte X-Patchwork-Id: 2990441 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E12CC9F170 for ; Fri, 4 Oct 2013 22:51:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2CDBC20209 for ; Fri, 4 Oct 2013 22:51:21 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 7BFDD20253 for ; Fri, 4 Oct 2013 22:51:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6DC14E8033 for ; Fri, 4 Oct 2013 15:51:20 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by gabe.freedesktop.org (Postfix) with ESMTP id D9949E6AC2; Fri, 4 Oct 2013 12:57:28 -0700 (PDT) Received: by mail-pd0-f177.google.com with SMTP id y10so4464543pdj.22 for ; Fri, 04 Oct 2013 12:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=f/NEY60i4Y+YjtJKk0XC8LxfeYkF0UTdFDeEk/kFuZc=; b=b+1CcCVCgHv1Hj6UsszsC3kG6Zg8y/C+LAwj5chtcxTH+FEEYuS108OzYQSHVlntlA W3ldfN+ulH5cztMOWsEcREx26Z2VjSB7XsSmbJdTMAej1dlvrnB5/kXbro/mzuI+NhSU W56t79W6BiZrnfMs8yGHgtMd0rhXF09yhj0kuCvoESUp29TUuop3UT7UoVsmznDM8NX9 SUvCOfI+kmgM+RyuoNhNpq8akT6+GOhBZTMD6UABrfAPjFC1CYSpoJ+HbYMKDZpvmw9t t6jHcuCyGFIpYcfPrTi4FTtGjHnj2hEgo9HemBo1geVMLOCK7AIGiig+zkeIa3Dvnint ePTQ== X-Received: by 10.68.162.161 with SMTP id yb1mr3491441pbb.202.1380916648607; Fri, 04 Oct 2013 12:57:28 -0700 (PDT) Received: from localhost.localdomain (udp116074uds.hawaiiantel.net. [72.235.203.227]) by mx.google.com with ESMTPSA id os4sm16551404pbb.25.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Oct 2013 12:57:27 -0700 (PDT) From: Todd Previte To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/dp: Clarify automated test constant and add constant for FAUX test pattern Date: Fri, 4 Oct 2013 12:59:03 -0700 Message-Id: <1380916743-20352-1-git-send-email-tprevite@gmail.com> X-Mailer: git-send-email 1.8.1.2 Cc: intel-gfx@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP - DP_TEST_LINK_PATTERN is ambiguous, rename to DP_TEST_LINK_VIDEO_PATTERN to clarify - Added DP_TEST_LINK_FAUX_PATTERN to support automated testing of Fast AUX Signed-off-by: Todd Previte Reviewed-by: Jani Nikula --- include/drm/drm_dp_helper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index ae8dbfb..34c8202 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -266,9 +266,10 @@ #define DP_TEST_REQUEST 0x218 # define DP_TEST_LINK_TRAINING (1 << 0) -# define DP_TEST_LINK_PATTERN (1 << 1) +# define DP_TEST_LINK_VIDEO_PATTERN (1 << 1) # define DP_TEST_LINK_EDID_READ (1 << 2) # define DP_TEST_LINK_PHY_TEST_PATTERN (1 << 3) /* DPCD >= 1.1 */ +# define DP_TEST_LINK_FAUX_PATTERN (1 << 4) /* DPCD >= 1.2 */ #define DP_TEST_LINK_RATE 0x219 # define DP_LINK_RATE_162 (0x6)