From patchwork Fri May 20 08:34:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 802872 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4K8mdeX008003 for ; Fri, 20 May 2011 08:49:00 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E2E49E988 for ; Fri, 20 May 2011 01:48:39 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qy0-f177.google.com (mail-qy0-f177.google.com [209.85.216.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 368EF9E903 for ; Fri, 20 May 2011 01:34:54 -0700 (PDT) Received: by qyl38 with SMTP id 38so2249481qyl.15 for ; Fri, 20 May 2011 01:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=RUf1QGEVi6vzKgUR7ZwVN0pQ+nNi/wgV4T6P/mNMucQ=; b=l6vKUZIZQwEwbFRkDqp+csqyGpFEpfQtIkSOdWeG6N7YJWVrI9nJU5fKHxMop+ExnA fG6qIFI74MmK+UK8ZbyCSNmFV4I1vGE5MF43vzzRd1VV68IWn/7KXE0KT8xE8nLyHVKe joR5WWHRMrRSNEyjspvyHz8OHoZO7PH7lZFZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=wj0SI3MrbmDPEaxTOKbQX/B5jFsxWgkTUl4v1LKGELYGJtaYmIcl5u74+DsidvloYB 3D4QkKVKIUfn6dbKtls7GtBBXCR1Kp5oWgYErsOh80e3NQEaxLNqJ5YAvvDhIPkJnXud rLlscMVG/kseuafrpFHfe/mb1uGLxdbbrrk5I= Received: by 10.229.34.130 with SMTP id l2mr3082561qcd.293.1305880493643; Fri, 20 May 2011 01:34:53 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-7.washdc.fios.verizon.net [74.96.105.7]) by mx.google.com with ESMTPS id s9sm2112372qco.36.2011.05.20.01.34.52 (version=SSLv3 cipher=OTHER); Fri, 20 May 2011 01:34:53 -0700 (PDT) From: Alex Deucher To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH 12/18] drm/dp: add some new DP regs for DP 1.2 Date: Fri, 20 May 2011 04:34:25 -0400 Message-Id: <1305880471-1472-12-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.1.1 In-Reply-To: <1305880471-1472-1-git-send-email-alexdeucher@gmail.com> References: <1305880471-1472-1-git-send-email-alexdeucher@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.11 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-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 20 May 2011 08:49:00 +0000 (UTC) Signed-off-by: Alex Deucher --- include/drm/drm_dp_helper.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 83a389e..91567bb 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -53,6 +53,7 @@ #define DP_MAX_LANE_COUNT 0x002 # define DP_MAX_LANE_COUNT_MASK 0x1f +# define DP_TPS3_SUPPORTED (1 << 6) # define DP_ENHANCED_FRAME_CAP (1 << 7) #define DP_MAX_DOWNSPREAD 0x003 @@ -71,10 +72,13 @@ #define DP_MAIN_LINK_CHANNEL_CODING 0x006 +#define DP_TRAINING_AUX_RD_INTERVAL 0x00e + /* link configuration */ #define DP_LINK_BW_SET 0x100 # define DP_LINK_BW_1_62 0x06 # define DP_LINK_BW_2_7 0x0a +# define DP_LINK_BW_5_4 0x14 #define DP_LANE_COUNT_SET 0x101 # define DP_LANE_COUNT_MASK 0x0f @@ -84,6 +88,7 @@ # define DP_TRAINING_PATTERN_DISABLE 0 # define DP_TRAINING_PATTERN_1 1 # define DP_TRAINING_PATTERN_2 2 +# define DP_TRAINING_PATTERN_3 3 # define DP_TRAINING_PATTERN_MASK 0x3 # define DP_LINK_QUAL_PATTERN_DISABLE (0 << 2)