From patchwork Tue Nov 17 09:12:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shubhangi Shrivastava X-Patchwork-Id: 7634141 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 97FCABF90C for ; Tue, 17 Nov 2015 09:13:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BA8222035B for ; Tue, 17 Nov 2015 09:13:07 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id DE01E2025A for ; Tue, 17 Nov 2015 09:13:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E34046E2DA; Tue, 17 Nov 2015 01:13:05 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id BF1DC6E2DA for ; Tue, 17 Nov 2015 01:13:04 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 17 Nov 2015 01:13:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,307,1444719600"; d="scan'208";a="852559319" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 17 Nov 2015 01:13:03 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 17 Nov 2015 01:13:02 -0800 Received: from bgsmsx151.gar.corp.intel.com (10.224.48.42) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 17 Nov 2015 01:13:02 -0800 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.192]) by BGSMSX151.gar.corp.intel.com ([169.254.3.77]) with mapi id 14.03.0248.002; Tue, 17 Nov 2015 14:42:59 +0530 From: "Shrivastava, Shubhangi" To: "intel-gfx@lists.freedesktop.org" , "Vetter, Daniel" Thread-Topic: [Intel-gfx] [PATCH 2/2] drm/i915: force link training when requested by Sink Thread-Index: AQHRF4er+9J2Qzo8q0mPZ3If/eox3p6f/7rQ Date: Tue, 17 Nov 2015 09:12:58 +0000 Message-ID: References: <1444814809-21749-1-git-send-email-shubhangi.shrivastava@intel.com> <1444814809-21749-3-git-send-email-shubhangi.shrivastava@intel.com> <000C66961D35964B9714611E548C10AD0C30453D@BGSMSX104.gar.corp.intel.com> In-Reply-To: <000C66961D35964B9714611E548C10AD0C30453D@BGSMSX104.gar.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.223.10.10] MIME-Version: 1.0 Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915: force link training when requested by Sink 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Hi Daniel, Is something else required for this patch series (2 patches) to be merged? Thanks and Regards, Shubhangi Shrivastava. -----Original Message----- From: Jindal, Sonika Sent: Thursday, November 5, 2015 10:36 AM To: Shrivastava, Shubhangi ; intel-gfx@lists.freedesktop.org Cc: Shrivastava, Shubhangi Subject: RE: [Intel-gfx] [PATCH 2/2] drm/i915: force link training when requested by Sink Looks good to me. Reviewed-by: Sonika Jindal Signed-off-by: Shubhangi Shrivastava --- drivers/gpu/drm/i915/intel_dp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.6.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 7bc75ef..3c7fc58 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -4466,7 +4466,9 @@ intel_dp_check_link_status(struct intel_dp *intel_dp) DRM_DEBUG_DRIVER("CP or sink specific irq unhandled\n"); } - if (!drm_dp_channel_eq_ok(link_status, intel_dp->lane_count)) { + /* if link training is requested we should perform it always */ + if ((intel_dp->compliance_test_type == DP_TEST_LINK_TRAINING) || + (!drm_dp_channel_eq_ok(link_status, intel_dp->lane_count))) { DRM_DEBUG_KMS("%s: channel EQ not ok, retraining\n", intel_encoder->base.name); intel_dp_start_link_train(intel_dp);