From patchwork Thu Nov 17 17:20:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 21854 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp522857wrr; Thu, 17 Nov 2022 09:21:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf6HSY0GXqi6HcG8GdkMwg2t/9JyUaRqG9cQp57UnBCKsddLRMf8x5vRZe8aiyQFyw2Ppxik X-Received: by 2002:a17:906:8314:b0:7ae:1063:55d3 with SMTP id j20-20020a170906831400b007ae106355d3mr2734088ejx.578.1668705715252; Thu, 17 Nov 2022 09:21:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668705715; cv=none; d=google.com; s=arc-20160816; b=wcVauyVTNK2mqPqrJdaikg0yRMtPWqd+wIabCw1wBtarXOBoiagk3hO+9dNyijfTA0 Pt8UZ6BmTCDdq8yxSEVRjSO4gHAhUDh1bkXSgZQOub5xPbQbLx9Eur9Wj4I0JTs03vu0 Y4Us5MyKWk0E9eMoAPb+0ih8wYWs4O5sk2fX+UG8hw94DnXbOMiLXzLv1GNsxdqmT5gX f0jyP0oZVss+U8/z8SDbdcmkdD5PiUzHiSXTAZdXMxtOFmu48U6im2rKjCgguLAt9CyX OyQ8fvwHWFc3JGfJcavCOGK/VJ73l0YabJ3UDEF04ixFX66sfViIlXcR2bYaMA8DBGUm olOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=smL2Rmie4NiQV8CZsOPNkcR6M+ljD18RGFuWqIoGNYg=; b=uDYLg4eMPwebx3FSwJOY/daDBZlcuh9Nw7+CZDvyFMz5luaVdo0OHfK5YtLrtfKfis RW4HMQUnM9J34xg63lCSasn7UfdVPuxkEE+QynPqtVH+6Bzl+tg2hQ3vWfPC5X3dStu2 So2dOi4MuA6U1TImLul46nwensAptIWOCDZJGEuNUFE7771I7+0j5+y+EdSfiaXCdiHZ dUE/9b2U6TgHY63QzU2daQW8XxdJfVfWltaBedS1WGsMOzKPqYjpyjUJYVDu2kdFs3g+ Fziyt/xbL4NnRJec2OehI6/MYnnFpP2eAG32d4k6TKlHrGGGwE4crbqgh/v8ut2e01Fr 4bSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="h/G6IEwk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz21-20020a0564021d5500b0045bc92ef2c0si1419871edb.195.2022.11.17.09.21.30; Thu, 17 Nov 2022 09:21:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="h/G6IEwk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240195AbiKQRUv (ORCPT + 99 others); Thu, 17 Nov 2022 12:20:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240499AbiKQRUY (ORCPT ); Thu, 17 Nov 2022 12:20:24 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75223B484 for ; Thu, 17 Nov 2022 09:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=smL2Rmie4NiQV8CZsOPNkcR6M+ljD18RGFuWqIoGNYg=; b=h/G6IEwklW9pY5On6uKrLDOWJs Sxa8FqSCOBfPrIyBSn/0sK8oO552McbCLO0z/zNalJFABZ/hnVF8c+o/iYfVt7pPXQx7I9NmFmQhO 698RdHcYytKebOyYTMIfQRjlGM8jRyYnWxm4bRJiCl/tN+e0kGdkXsVsLETlPEucmrDUhEu4W46r4 BHDnu0wFMKbAsyw8A3EKfWjAyevpojxce1qbyUHJRV7iM2DXN8o82jdgBuPyvBeIEQNeol9QYfkjV WqUhSWs/+f9s5eyZ7Nz0xSktH2MKG6FBv4oygJdnLm6bnmd5B3YLWfScMUHmRsjE4v7c7p+lSCxXl dpiBIhfQ==; Received: from [2601:1c2:d80:3110::a2e7] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oviYm-001FKW-Gy; Thu, 17 Nov 2022 17:20:21 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Rodrigo Siqueira , Alex Deucher , Harry Wentland , Leo Li , amd-gfx@lists.freedesktop.org, David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: [PATCH -next] drm/amd/display: fix kernel-doc issues in dc.h Date: Thu, 17 Nov 2022 09:20:09 -0800 Message-Id: <20221117172009.28207-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749764764202270010?= X-GMAIL-MSGID: =?utf-8?q?1749764764202270010?= Fix these kernel-doc complaints: drivers/gpu/drm/amd/display/dc/dc.h:505: warning: cannot understand function prototype: 'struct dc_clocks ' dc.h:472: warning: Enum value 'MPC_SPLIT_AVOID' not described in enum 'pipe_split_policy' dc.h:472: warning: Enum value 'MPC_SPLIT_AVOID_MULT_DISP' not described in enum 'pipe_split_policy' dc.h:532: warning: Incorrect use of kernel-doc format: * @fw_based_mclk_switching Fixes: ea76895ffab1 ("drm/amd/display: Document pipe split policy") Fixes: 1682bd1a6b5f ("drm/amd/display: Expand kernel doc for DC") Signed-off-by: Randy Dunlap Cc: Rodrigo Siqueira Cc: Alex Deucher Cc: Harry Wentland Cc: Leo Li Cc: amd-gfx@lists.freedesktop.org Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Reviewed-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/dc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff -- a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -458,15 +458,15 @@ enum pipe_split_policy { MPC_SPLIT_DYNAMIC = 0, /** - * @MPC_SPLIT_DYNAMIC: Avoid pipe split, which means that DC will not + * @MPC_SPLIT_AVOID: Avoid pipe split, which means that DC will not * try any sort of split optimization. */ MPC_SPLIT_AVOID = 1, /** - * @MPC_SPLIT_DYNAMIC: With this option, DC will only try to optimize - * the pipe utilization when using a single display; if the user - * connects to a second display, DC will avoid pipe split. + * @MPC_SPLIT_AVOID_MULT_DISP: With this option, DC will only try to + * optimize the pipe utilization when using a single display; if the + * user connects to a second display, DC will avoid pipe split. */ MPC_SPLIT_AVOID_MULT_DISP = 2, }; @@ -497,7 +497,7 @@ enum dcn_zstate_support_state { }; /** - * dc_clocks - DC pipe clocks + * struct dc_clocks - DC pipe clocks * * For any clocks that may differ per pipe only the max is stored in this * structure @@ -528,7 +528,7 @@ struct dc_clocks { bool fclk_prev_p_state_change_support; int num_ways; - /** + /* * @fw_based_mclk_switching * * DC has a mechanism that leverage the variable refresh rate to switch