From patchwork Tue Apr 14 10:10:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mika Kahola X-Patchwork-Id: 6214611 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B7E60BF4A6 for ; Tue, 14 Apr 2015 10:10:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 055AF202DD for ; Tue, 14 Apr 2015 10:10:57 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 32696202F8 for ; Tue, 14 Apr 2015 10:10:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7444F6E696; Tue, 14 Apr 2015 03:10:55 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTP id 6160F6E693 for ; Tue, 14 Apr 2015 03:10:54 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 14 Apr 2015 03:10:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,575,1422950400"; d="scan'208";a="708664421" Received: from sorvi.fi.intel.com ([10.237.72.165]) by fmsmga002.fm.intel.com with ESMTP; 14 Apr 2015 03:10:53 -0700 From: Mika Kahola To: intel-gfx@lists.freedesktop.org Date: Tue, 14 Apr 2015 13:10:25 +0300 Message-Id: <1429006225-4331-3-git-send-email-mika.kahola@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429006225-4331-1-git-send-email-mika.kahola@intel.com> References: <1429006225-4331-1-git-send-email-mika.kahola@intel.com> Subject: [Intel-gfx] [PATCH 2/2] drm/i915: DP link training optimization X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 This patch adds DP link training optimization by reusing the previously trained values. v2: - rebase Signed-off-by: Mika Kahola --- drivers/gpu/drm/i915/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index b6f1092..0d2284b 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -3722,7 +3722,7 @@ intel_dp_complete_link_train(struct intel_dp *intel_dp) if (channel_eq) { DRM_DEBUG_KMS("Channel EQ done. DP Training successful\n"); - intel_dp->train_set_valid = is_edp(intel_dp); + intel_dp->train_set_valid = true; } }