From patchwork Thu Jun 25 17:00:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lespiau, Damien" X-Patchwork-Id: 6676711 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 6C98DC05AC for ; Thu, 25 Jun 2015 17:00:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A2B0A206EF for ; Thu, 25 Jun 2015 17:00:45 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 8952D206E8 for ; Thu, 25 Jun 2015 17:00:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 259956E500; Thu, 25 Jun 2015 10:00:44 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 246426E4FC for ; Thu, 25 Jun 2015 10:00:43 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 25 Jun 2015 10:00:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,678,1427785200"; d="scan'208";a="753198597" Received: from unknown (HELO strange.ger.corp.intel.com) ([10.252.32.192]) by orsmga002.jf.intel.com with ESMTP; 25 Jun 2015 10:00:41 -0700 From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Thu, 25 Jun 2015 18:00:39 +0100 Message-Id: <1435251640-6984-1-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 2.1.0 Subject: [Intel-gfx] [PATCH i-g-t 1/2] skl_compute_wrpll: Sync a comment with from the kernel code 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=-5.6 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 Might as well try to keep the code in both this test and the kernel as close as possible. Signed-off-by: Damien Lespiau --- tools/skl_compute_wrpll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/skl_compute_wrpll.c b/tools/skl_compute_wrpll.c index 5468b58..1cc2343 100644 --- a/tools/skl_compute_wrpll.c +++ b/tools/skl_compute_wrpll.c @@ -270,6 +270,7 @@ static void skl_wrpll_context_init(struct skl_wrpll_context *ctx) ctx->min_deviation = U64_MAX; } +/* DCO freq must be within +1%/-6% of the DCO central freq */ #define SKL_MAX_PDEVIATION 100 #define SKL_MAX_NDEVIATION 600