Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp941967ybl; Fri, 6 Dec 2019 08:40:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwFYKIAMGPQkOkUJyyrBTX8L8UMJFUrIyQr6WfnWrxGczpaxrqgEAIHh/XeWwSBX7r4l+LV X-Received: by 2002:a05:6830:1555:: with SMTP id l21mr8696064otp.41.1575650415595; Fri, 06 Dec 2019 08:40:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1575650415; cv=pass; d=google.com; s=arc-20160816; b=KFR5c4Zt68VWQ9UJb/X1dEy0m+bsyqcfqeFUw5UCDAdHYtaFIr80Bb2Ay+jx5qBb0/ Gdr2eB33nCAYdnQ3s2cHvKr3uVFxuMQXV5aIBq9VK3f1pvDvGKqGBwrrZvVTaGe44Biu fgbbmhlE1a70Y1NEWvp1BFz2kA4JH8zXu+vSbrhV9hdPs5mCJbB7NUADUkV5Qj4RcIEJ j+PlrdahDGfIc0ViCHgluRmTiyBmyUZNJYW7cAPiStTQPyyl5PpdRNQGMaI1ndnkj3m1 hkrm+QZS79o5INEBxFyP9og13+PNxMAYriRBn5fzqjUjlQt5h5h/o3fZ8b9BtL92MrjI jb0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:autocrypt :from:references:cc:to:subject:dkim-signature; bh=thDP0VNmZL1G2cjbvtWP32uUTB05iKnLtR5guAtg12Q=; b=HkCDxS4HhRTTzDgCtFnBJWsBzV2ztL5ozJPezNSuNXGHoyveAzfrKjIn2Cdn0S290f DbnDOd20E4/84aDWFTJ0H7SRlTBW5lnHFUgJV2JHcqTGmnCuRGttMRbNWd7yLqp/oA/d 0feYJougSVtvTLr1xjOd5AKXHdEe0lhyRXLUVb038RpYTGudNnPk4ksFH/LRfJ8KO24L pH9+1Nxggd59WzlewamS8FvVTXJWimHI51Bt65SFml4kVvfhbfBHIwRWGZdJhq3BpeeI GpgJPovcbsRISWEC0VvlhlK6aR3fUwGHxtfB/70YJll1BHoxJ1RWbyc1EwIcKAW0aJWD 2rdA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=AryR3U6n; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j16si7409975otp.316.2019.12.06.08.40.03; Fri, 06 Dec 2019 08:40:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=AryR3U6n; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726552AbfLFQiV (ORCPT + 99 others); Fri, 6 Dec 2019 11:38:21 -0500 Received: from mail-dm6nam10on2084.outbound.protection.outlook.com ([40.107.93.84]:5729 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726258AbfLFQiV (ORCPT ); Fri, 6 Dec 2019 11:38:21 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JGsx0wLqagKu+A32gVyizI7i+9C1niAq+vlmvCY1To53wfBQKSsZMJoM7wKnWKwDbeb5+V/M+jWQHFzABuIhP6EVzGHLcp+DrD9UYFOcrOcsq8Ly2YOlAkghxOuC3AHhGcJCTB5JSM1utmnsjiQnNoYb3KTX5bnDJ6RG5FPa7H1Ni+1G7SufyqEuZPT/I279SWbySz+lEcWKld2nns298RimicgnHXVAXvuhvgBzmAqor4TKdJWETRrj1OFXv8yOF+ByS+q/GZpzAH7DL3PQO1o35FGjZmex724sk2VxzKhfqUo8B+8WOv3eqOpugiggo/g2oc5UCANuXHN7GM4w3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=thDP0VNmZL1G2cjbvtWP32uUTB05iKnLtR5guAtg12Q=; b=P8RnbddpoX+uQUQVX8b5J2brchwBLR9zKf2kAohP1VO4TUMtgMYZ9ZUkZ/nDCixG53GZpPXj4jr+p3IDvsLuuh27OsRlyOgzEN/+68RxSeIQ9VkVWxEd6EQCq5CgJgqTamqkMAmYUOb0hyozM1lmwOeUmHorqunKTgTSWfkuYVlm11sIU6uoIHC2epVLF4z3RME2EFutPloblsSYJJYI/V+WrjX+1b4U0Gc+BNN+7tf9YH+d3FxQaH2bdhUcmsIZWnsNM38QpzttkkrnJdcmKn4U0W5vJ9Ub+pWHq6yP9NXB8t+O63oBoMukDidO5/7AnXZUnTfM5YlRYrGX9RjnsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=thDP0VNmZL1G2cjbvtWP32uUTB05iKnLtR5guAtg12Q=; b=AryR3U6nsWe7UkkHMbCJ8zN7htVuaBvtuMjcV+KT9pm3g3C5qzE7mTglbJBEvf03BlGSBUzIwI7zZeRpeeFugjRXgX6YDBAXco3k1OMtJtfTbfmdPn9AoaZerXKcKpoSuig4bl7yfEJ8mnTMF+iVzC8lhnz0IBnbTd7511o0e+s= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Harry.Wentland@amd.com; Received: from CY4PR1201MB0230.namprd12.prod.outlook.com (10.172.79.7) by CY4PR1201MB0039.namprd12.prod.outlook.com (10.172.79.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.20; Fri, 6 Dec 2019 16:38:17 +0000 Received: from CY4PR1201MB0230.namprd12.prod.outlook.com ([fe80::301e:b0c8:7af:d77d]) by CY4PR1201MB0230.namprd12.prod.outlook.com ([fe80::301e:b0c8:7af:d77d%11]) with mapi id 15.20.2516.017; Fri, 6 Dec 2019 16:38:16 +0000 Subject: Re: [PATCH] drm: Add FEC registers for LT-tunable repeaters To: Rodrigo Siqueira , =dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org Cc: Abdoulaye Berthe , Harry Wentland , Leo Li , Jani Nikula , Manasi Navare , =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , Nikola Cornij References: <20191205135856.232784-1-Rodrigo.Siqueira@amd.com> From: Harry Wentland Autocrypt: addr=hwentlan@amd.com; keydata= mQENBFhb4C8BCADhHHUNoBQ7K7LupCP0FsUb443Vuqq+dH0uo4A3lnPkMF6FJmGcJ9Sbx1C6 cd4PbVAaTFZUEmjqfpm+wCRBe11eF55hW3GJ273wvfH69Q/zmAxwO8yk+i5ZWWl8Hns5h69K D9QURHLpXxrcwnfHFah0DwV23TrD1KGB7vowCZyJOw93U/GzAlXKESy0FM7ZOYIJH83X7qhh Q9KX94iTEYTeH86Wy8hwHtqM6ySviwEz0g+UegpG8ebbz0w3b5QmdKCAg+e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CZLQiu0vc+BZ1yKDV T5ASJ97G4XvQNO+XXGY55MrmhoNqMaeIa/3Jas54fPVd5olcnUAyDty29/VWXNllUq38iBCX /0tTF7oav1lzPGfeW2c6B700FFZMTR4YBVSGE8jPIzu2Fj0E8EkDmsgS+nibqSvWXfo1v231 410h35CjbYDlYQO7Z1YD7asqbaOnF0As+rckyRMweQ9CxZn5+YBijtPJA3x5ldbCfQ9rWiTu XQ== Message-ID: <259e4632-02ba-a671-09b5-79a686a2c2d4@amd.com> Date: Fri, 6 Dec 2019 11:38:14 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 In-Reply-To: <20191205135856.232784-1-Rodrigo.Siqueira@amd.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: YTXPR0101CA0058.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00:1::35) To CY4PR1201MB0230.namprd12.prod.outlook.com (2603:10b6:910:1e::7) MIME-Version: 1.0 X-Originating-IP: [165.204.55.251] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6a843870-62ce-453f-e8af-08d77a6ab1d5 X-MS-TrafficTypeDiagnostic: CY4PR1201MB0039:|CY4PR1201MB0039: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:254; X-Forefront-PRVS: 0243E5FD68 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(366004)(376002)(136003)(396003)(346002)(199004)(189003)(54906003)(229853002)(31686004)(2906002)(2870700001)(31696002)(316002)(305945005)(66946007)(50466002)(58126008)(99286004)(76176011)(66556008)(478600001)(66476007)(4326008)(65956001)(6486002)(81166006)(81156014)(53546011)(6506007)(8936002)(26005)(6512007)(8676002)(186003)(2616005)(36756003)(52116002)(5660300002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR1201MB0039;H:CY4PR1201MB0230.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EV2x7X2Pt9qmb3KSxo6pIS5BesU3MxmbOqNHB0lPaA3wiZUBEJslOVoAKZrMfwF+DTbONIutklgjRDEAeXeL0pqKBcAtzMGfmtY0VoNKNyfqJ5TM77gCb0jZoRirO9I7kRvVASoUK1WYuDW9ZuAQkNZuaQrctNg+iiZYvFCnWNLjiqRQMpwKJ3vZtv2fwJyAfovDvOA3TRB06dqJXUW/zjsoXohao6pQVUqgHm6He1zUhCk66lGMOjLseHoEQqWgy17azBS9XQeQ5FRZ4zK+fmS1NBJC1M202cIgX9sDnTxZxq6Xh1jgmfOLx6MG1TkGbGjYp6UNjopF2CiabE0CYq61C+Bnnth0aeHBzUfutZN1pbeZ5bxDomJ8BhyBsI5x+H/DzIZ/BDT3sPFVALbhnCGidum4YKHh/uYBtjktzw5GbMZvrq4lYZiCg+snPslc X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a843870-62ce-453f-e8af-08d77a6ab1d5 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2019 16:38:16.7941 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9qNdwznPudSnWY+hz/LPvpOVwH6ZJHXi2AE8en2+qrbYWa2qc72ZPR1L/CVuBe4ugU4X89t+xgrD7WZAgSeo2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0039 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-12-05 8:58 a.m., Rodrigo Siqueira wrote: > FEC is supported since DP 1.4, and it was expanded for LT-tunable in DP > 1.4a. This commit adds the address registers for > FEC_ERROR_COUNT_PHY_REPEATER1 and FEC_CAPABILITY_PHY_REPEATER1. > > Cc: Abdoulaye Berthe > Cc: Harry Wentland > Cc: Leo Li > Cc: Jani Nikula > Cc: Manasi Navare > Cc: Ville Syrjälä > Signed-off-by: Abdoulaye Berthe > Signed-off-by: Rodrigo Siqueira Reviewed-by: Harry Wentland Harry > --- > include/drm/drm_dp_helper.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h > index 51ecb5112ef8..b2057009aabc 100644 > --- a/include/drm/drm_dp_helper.h > +++ b/include/drm/drm_dp_helper.h > @@ -1042,6 +1042,8 @@ > #define DP_SYMBOL_ERROR_COUNT_LANE2_PHY_REPEATER1 0xf0039 /* 1.3 */ > #define DP_SYMBOL_ERROR_COUNT_LANE3_PHY_REPEATER1 0xf003b /* 1.3 */ > #define DP_FEC_STATUS_PHY_REPEATER1 0xf0290 /* 1.4 */ > +#define DP_FEC_ERROR_COUNT_PHY_REPEATER1 0xf0291 /* 1.4 */ > +#define DP_FEC_CAPABILITY_PHY_REPEATER1 0xf0294 /* 1.4a */ > > /* Repeater modes */ > #define DP_PHY_REPEATER_MODE_TRANSPARENT 0x55 /* 1.3 */ >