From patchwork Fri Nov 13 13:49:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324294 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212809ils; Fri, 13 Nov 2020 05:50:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyx5T03v/LzJ0kWEGZi8dzTe1d/Zyx4LRjI132HIRj+DsayhsuPOH81KAlelWkxKeGi8BhR X-Received: by 2002:a05:6a00:158b:b029:18b:fd84:956d with SMTP id u11-20020a056a00158bb029018bfd84956dmr2247207pfk.22.1605275411402; Fri, 13 Nov 2020 05:50:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275411; cv=none; d=google.com; s=arc-20160816; b=hilmN+FWOkfVZuGKWWTuZh0CoihmmRBIF201XagiKlQs2NNqs/XpbzkFwlPhSlFuv4 knW49kd0+TpnWR8mE7JhPb5DX7dGFkfDW/MsjuNzhHEd6sRgAadVJglt4a0kiqS38/vN ho8PqhhTZUzn6SM+mP6aRw6uxeYWiOaq2QpFK1z6XHRMdh7h8y76rF6lH8jplejwnLlO pbfO8SLcm5BZSdLHKfhwwJ4+ckKZrsLeujxJHd1Qezkp9GL8GyZPX1RNgk/Ggz2nwAEf Ox1fpTARSiK19tZFRjadfbttdwvMIqrDpW/t3oljDeE3k9H8+E7NX+4S95QG+3U5EHBe BFhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=l3KkaLramvG+7OU/VNMB4C/wZNgG6uJmLWl1h3braio=; b=OAPPfEG8dgvlJrMZ2yx/n5jg6M2vAe0ygi9Upfgx5T/9Lr194mBK2jzmdaKPykKFEp i2K9fT7kgoUtQQzjwXnMCneJ46Aq5Y0gR9nQPBC8tXVFdT5w0Aao+tzaLZLgX14thX09 RWerKSjckfIJgq6tOSVpTQGWL0VTaJZ9hfxcFXd9iDXdOmVPxHxyalzz82V3CngmTpSg iJGexqb2Ppq/fzA982bja/MswqCHvOSsvxzmpUeccs0h1wltjwqBS18BXSuZAfto54/k CHvbQ6TvLdDbktDAXJgb2CTbp8gbpd8RzH5eH4buZs60Jqdk+EvI/Dr8ZJGphOJimKaw JVZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oVPSe3gK; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id o9si7723857pji.112.2020.11.13.05.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oVPSe3gK; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B8EC6E52C; Fri, 13 Nov 2020 13:49:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 070B76E52C for ; Fri, 13 Nov 2020 13:49:57 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id d142so8200018wmd.4 for ; Fri, 13 Nov 2020 05:49:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7u3R7+OjGQISbkuCs2m/TsCWsUoo+j2lw9OomX7FkgE=; b=oVPSe3gKajXzmTwgKcAiPMc6n66vSQUTIbxQGrlpz617vtWWaflWGSCujuQ8cnhsl8 Flp6j1U3fpCW7BBDGzKQP/99ib4s8fxs/3AQJXmBbOgVUYM9cW6lcnZJ6CnLvJKja8Ko d8CatTkf5GLBuTFXz+J+cf8WtmeIFmL5KsDnbuSwPcotT3zNcJ6w1GsXt+oCK9Lbw+nZ gm0psYuaDRRopbobUkafy6BIEHXJI+i+Eh5apV9e39CP9yF7cHUUGtaYNL6A+xjJB/xM 6gmjz6brGCBOeN1cuNZFWtroPbG536JOhvA1Fyspe4+AV4ymKme21mmgH9JPXwIC3zjR ZyPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7u3R7+OjGQISbkuCs2m/TsCWsUoo+j2lw9OomX7FkgE=; b=QQv1vpw5bGcLz5VSiiWYtUlKnqKlp0HJSlt0EI7KYj75db48hnvXjGJn33MIRoHb++ Avn9YSF49U52+JYJShUJu26uS8mjXnLRbyKpf3o7xAy+OLRQCYiDv2zMOt3nCsaRuTNh H0NY89LNpj61x/zxXIMbqxoaHCZx/XwUXmWXd5fyfHzGi8t0/8l7banmPUYV/BenZCia yiu8TK4fU17aROsY6Vj5zJ/V1/QqVnZhKSk2wu02Q77NauZ5zrj+Y7qgZvwti/XJhADO 0U8k0FOPPGI78Usdsvdg2v/T/rgL0TXF+kB1nrdKsSQLzVL5xrB8fvW6JkSJLpCPyvWF 5Xug== X-Gm-Message-State: AOAM532PK2KM/iN4cBE540zlWub1S+amkfsvIm1zunkRB2Z014AHGhf7 YN1N4aWr6sGmHPZFI8aos83Pmg== X-Received: by 2002:a1c:2cd7:: with SMTP id s206mr2531152wms.182.1605275395681; Fri, 13 Nov 2020 05:49:55 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:55 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/40] drm/amd/amdgpu/amdgpu_pll: Fix kernel-doc formatting, missing and extra params Date: Fri, 13 Nov 2020 13:49:09 +0000 Message-Id: <20201113134938.4004947-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'freq' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'fb_div_p' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'frac_fb_div_p' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'ref_div_p' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:121: warning: Function parameter or member 'post_div_p' not described in 'amdgpu_pll_compute' drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c:317: warning: Excess function parameter 'encoder' description in 'amdgpu_pll_get_shared_nondp_ppll' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c index 1f2305b7bd135..f2e20666c9c1b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c @@ -102,11 +102,12 @@ static void amdgpu_pll_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_ * amdgpu_pll_compute - compute PLL paramaters * * @pll: information about the PLL + * @freq: requested frequency * @dot_clock_p: resulting pixel clock - * fb_div_p: resulting feedback divider - * frac_fb_div_p: fractional part of the feedback divider - * ref_div_p: resulting reference divider - * post_div_p: resulting reference divider + * @fb_div_p: resulting feedback divider + * @frac_fb_div_p: fractional part of the feedback divider + * @ref_div_p: resulting reference divider + * @post_div_p: resulting reference divider * * Try to calculate the PLL parameters to generate the given frequency: * dot_clock = (ref_freq * feedback_div) / (ref_div * post_div) @@ -308,7 +309,6 @@ int amdgpu_pll_get_shared_dp_ppll(struct drm_crtc *crtc) * amdgpu_pll_get_shared_nondp_ppll - return the PPLL used by another non-DP crtc * * @crtc: drm crtc - * @encoder: drm encoder * * Returns the PPLL (Pixel PLL) used by another non-DP crtc/encoder which can * be shared (i.e., same clock).