From patchwork Sun Dec 31 06:08:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 184092 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp3383929dyb; Sat, 30 Dec 2023 22:08:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGT7GfUgJKrcLwnDoVddLkIvpinY0cToN0btik8Ph7x6rkI/OctjQ/ueqi/kF+A+iu8jAWZ X-Received: by 2002:a05:6808:bd1:b0:3bb:c2da:3c04 with SMTP id o17-20020a0568080bd100b003bbc2da3c04mr8948375oik.78.1704002937102; Sat, 30 Dec 2023 22:08:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704002937; cv=none; d=google.com; s=arc-20160816; b=puHSfxC+FeEevWDEjaR1dC4FyMv8j4LbWOkGuhc8zq8mJRJWY897xmOm1GPBoVfHLm vQf2MWTf3z9Pmpv1W9x56933n0crI6um4AoB4bDuyhWPEqjK+hP+DjF8iKpD3swklLj7 MXKfHVFFbdzUlTWV2hTaHKc6fYR57DS5CPoC8F2+BOVm2weKo1igNziQazFP0nrcS0yw aXNWBvBwepTnzOuvenSgOjp6//wNqCNKDaI3JUS3oIoIonz8vJoeLE7NFc562WKAoNU2 41bbchSdNGzbbo2utE2mO/1BBu4xD7uJatZV0oQ2DdqMjDLldYpLTeF8fmDZqIkzsAfQ mPXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Pdi5ZtHpaZp9Kggr/yaJ0U8/BDWSSZaYMUzC+gCeArI=; fh=UwIdRlZoZiyZ25XSchqZG6wzVqqcpcXGIQgnG01EqlQ=; b=pFu9U1w7UAWBmU1FTgjdHW7S6qdgrFIi7UcAa4bfRf5ImiF/UuF4Kem07Adp3/RrQu hHUIaOVg14wcNkH7F2RQsAGXjL+IZXAT1wiymt/I3Kh1Een6g7pfeBC5OSGNawQj4p5+ Eo6edcz9muNPga57fGHKSORow7CCAzHCfX1VePqCgqHQyJQJ9q94lAdcqmZmw0bBFlSJ BoKA4h6ZZpqK0RGusXzuzTYcJaib/VNrmy5fnfAYsl1s+K3ISSLnUB8hePOvyqheY4rq 7dMnDs8ignCTzkxtxU2ymZslzFYKSpo3xfEsvH/BXFerVc3MsbQDctoToSituGR0Ir5M beBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NrvB6Tb8; spf=pass (google.com: domain of linux-kernel+bounces-13641-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13641-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y22-20020a17090a105600b0028cb1d1ce00si3435997pjd.39.2023.12.30.22.08.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 22:08:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13641-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NrvB6Tb8; spf=pass (google.com: domain of linux-kernel+bounces-13641-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13641-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B2499B2101F for ; Sun, 31 Dec 2023 06:08:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CB5828F1; Sun, 31 Dec 2023 06:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="NrvB6Tb8" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1416017C3; Sun, 31 Dec 2023 06:08:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=Pdi5ZtHpaZp9Kggr/yaJ0U8/BDWSSZaYMUzC+gCeArI=; b=NrvB6Tb8ns3knSE1FFQWcCpQmA TBARokTfNINIlgExGe1w8/dUTRRFP/ErXNL/TONz8XXT9zP/1KGvyCo7F+XVkPt4nXGIabttUdnze ln3vUlceKcMCd2Mjrt07AOtKr7WW/E3Yf47VxVOBdg1+HdqZp827wzcU7mnbrDERuCV610OENFD2P OC7Hn/dHpFHRIN2/fA1ktDGxEmzAHpXGRFV/PeazBJ1Ldu9LQqKWTvOMPhuxwDWbmZNk9V16Gy+9r ZMepz4aSi5NTk7AcQbiCPBpFdzhi/D5AmJfyeV1jxeEDw76guY3fGxrs3W4dzw5d0yODviTdiXTa6 cc6hxB1w==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rJozo-0042hK-2l; Sun, 31 Dec 2023 06:08:24 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Jonathan Corbet , Vegard Nossum Subject: [PATCH] drm/msm/dpu: fix kernel-doc warnings Date: Sat, 30 Dec 2023 22:08:23 -0800 Message-ID: <20231231060823.1934-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786776583530713382 X-GMAIL-MSGID: 1786776583530713382 Correct all kernel-doc warnings in dpu_encoder.c and dpu_rm.c: dpu_encoder.c:212: warning: Excess struct member 'crtc_kickoff_cb' description in 'dpu_encoder_virt' dpu_encoder.c:212: warning: Excess struct member 'crtc_kickoff_cb_data' description in 'dpu_encoder_virt' dpu_encoder.c:212: warning: Excess struct member 'debugfs_root' description in 'dpu_encoder_virt' dpu_rm.c:35: warning: Excess struct member 'hw_res' description in 'dpu_rm_requirements' dpu_rm.c:208: warning: No description found for return value of '_dpu_rm_get_lm_peer' Signed-off-by: Randy Dunlap Cc: Rob Clark Cc: Abhinav Kumar Cc: Dmitry Baryshkov Cc: Sean Paul Cc: Marijn Suijten Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: Jonathan Corbet Cc: Vegard Nossum Reviewed-by: Paloma Arellano Reviewed-by: Dmitry Baryshkov Reported-by: kernel test robot diff -- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c @@ -144,10 +144,6 @@ enum dpu_enc_rc_states { * to track crtc in the disable() hook which is called * _after_ encoder_mask is cleared. * @connector: If a mode is set, cached pointer to the active connector - * @crtc_kickoff_cb: Callback into CRTC that will flush & start - * all CTL paths - * @crtc_kickoff_cb_data: Opaque user data given to crtc_kickoff_cb - * @debugfs_root: Debug file system root file node * @enc_lock: Lock around physical encoder * create/destroy/enable/disable * @frame_busy_mask: Bitmask tracking which phys_enc we are still diff -- a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c @@ -29,7 +29,6 @@ static inline bool reserved_by_other(uin /** * struct dpu_rm_requirements - Reservation requirements parameter bundle * @topology: selected topology for the display - * @hw_res: Hardware resources required as reported by the encoders */ struct dpu_rm_requirements { struct msm_display_topology topology; @@ -204,6 +203,8 @@ static bool _dpu_rm_needs_split_display( * _dpu_rm_get_lm_peer - get the id of a mixer which is a peer of the primary * @rm: dpu resource manager handle * @primary_idx: index of primary mixer in rm->mixer_blks[] + * + * Returns: lm peer mixed id on success or %-EINVAL on error */ static int _dpu_rm_get_lm_peer(struct dpu_rm *rm, int primary_idx) {