Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5568188rwd; Wed, 24 May 2023 03:54:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5E2LEnA2tgqcPdKrydEC9s6BfRuXwvh2utMBLcGdz1jAslmEfHux2JIr4Ptv26RrAGs+Hy X-Received: by 2002:a17:902:6505:b0:1ac:40f7:8b52 with SMTP id b5-20020a170902650500b001ac40f78b52mr14490219plk.64.1684925662172; Wed, 24 May 2023 03:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684925662; cv=none; d=google.com; s=arc-20160816; b=Kxy1eYDtgBchFcGmeU85+sfM6GAyrjzh+VpdgtjDX61UBnL73Tv10K8FSMDxzcVkyl yxG0bzQQlDN2gd93WfiaUp9qyOciWd13Ca7IU4DIRdWHCtOk7XRsKuNOgB6Dv1hUs+va JR1tED+fWW10opAajuew0MnuauPfyBVw42y+Z4Tvb2rbdl/9R4DFatrFBcB+aM5aNZle vWi5/jbb5nw5IKOd7Bib5o0IgPvRnM76jmxI8gnlcGgpJ8Kg51qW70ohajDd6i1l27zu rNnOfDfU5i3Km2FXiGtsAMs9Vl1RKrLdIXVHxzhsGYW4XPYkiIyQO6+iChyTipOJEU7l istw== 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; bh=rk2mRiX3JdeDLAf0l1gOJgX4ss8Ashcn/pFfPIRKnuQ=; b=mwjCpqGQixbkYEd4s6x716wjeC53pv3jynhbjG9SZTu/5BBjZyJPkjLvMSK12Go31U G8kPj4MU92CEUgLTJdxyAJwwBJ+nmW8S2ThZYth6zbXAUVxynReVek27Q+owULfvcc2n lta2T0tCO6F9BcJudqGT+dHujiZpvSkGW5Uq3Qj9uhToanoZQe7quNPpvJSrqKeLvp8t YRaRW7QdMHB2nqHCIH1arfu9aeBVYng4UJ98Vjxpopfb3xxuHIcebd93EKyQ79a9WbIb Sie1aCc075NU62tyRN5QYiSvl1yB1f8Pc0mF+sNbrDPWCQr0471/RozTNxnPWQBc1U0p 5jCA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b14-20020a170902650e00b001ae7da95d0esi781828plk.479.2023.05.24.03.54.09; Wed, 24 May 2023 03:54:22 -0700 (PDT) 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; 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 S230160AbjEXKcw (ORCPT + 99 others); Wed, 24 May 2023 06:32:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbjEXKcu (ORCPT ); Wed, 24 May 2023 06:32:50 -0400 Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A2B998 for ; Wed, 24 May 2023 03:32:48 -0700 (PDT) X-UUID: 902cfb92b315469abe58eec95e6a8660-20230524 X-CID-O-RULE: Release_Ham X-CID-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:9e56b5b9-9528-4ab5-8a67-9f47867fe627,IP:5,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:-10 X-CID-INFO: VERSION:1.1.22,REQID:9e56b5b9-9528-4ab5-8a67-9f47867fe627,IP:5,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:-10 X-CID-META: VersionHash:120426c,CLOUDID:b15ddc6c-2f20-4998-991c-3b78627e4938,B ulkID:23052418324559N28CF5,BulkQuantity:0,Recheck:0,SF:19|44|24|17|102,TC: nil,Content:0,EDM:-3,IP:-2,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OS I:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-UUID: 902cfb92b315469abe58eec95e6a8660-20230524 X-User: pengfuyuan@kylinos.cn Received: from localhost.localdomain [(116.128.244.169)] by mailgw (envelope-from ) (Generic MTA) with ESMTP id 634748836; Wed, 24 May 2023 18:32:44 +0800 From: pengfuyuan To: David Airlie Cc: Daniel Vetter , Sumit Semwal , christian.koenig@amd.com, John Harrison , Daniele Ceraolo Spurio , Andrzej Hajda , Alan Previn , Matthew Brost , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , pengfuyuan , k2ci Subject: [PATCH] drm/i915/gt: fix kernel-doc trivial warnings Date: Wed, 24 May 2023 18:32:42 +0800 Message-Id: <20230524103242.1486266-1-pengfuyuan@kylinos.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 The test robot reports some make warnings. Fix those warnings: drivers/gpu/drm/i915/gt/intel_gtt.h:499: warning: Function parameter or member 'vm' not described in 'i915_vm_resv_put' drivers/gpu/drm/i915/gt/intel_context.h:108: warning: Function parameter or member 'ce' not described in 'intel_context_lock_pinned' drivers/gpu/drm/i915/gt/intel_context.h:123: warning: Function parameter or member 'ce' not described in 'intel_context_is_pinned' drivers/gpu/drm/i915/gt/intel_context.h:142: warning: Function parameter or member 'ce' not described in 'intel_context_unlock_pinned drivers/gpu/drm/i915/gt/intel_engine_types.h:293: warning: Function parameter or member 'preempt_hang' not described in 'intel_engine_execlists' Reported-by: k2ci Signed-off-by: pengfuyuan --- drivers/gpu/drm/i915/gt/intel_context.h | 6 +++--- drivers/gpu/drm/i915/gt/intel_engine_types.h | 3 +++ drivers/gpu/drm/i915/gt/intel_gtt.h | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/intel_context.h b/drivers/gpu/drm/i915/gt/intel_context.h index 48f888c3da08..6b5eae7b88bc 100644 --- a/drivers/gpu/drm/i915/gt/intel_context.h +++ b/drivers/gpu/drm/i915/gt/intel_context.h @@ -97,7 +97,7 @@ void intel_context_bind_parent_child(struct intel_context *parent, /** * intel_context_lock_pinned - Stablises the 'pinned' status of the HW context - * @ce - the context + * @ce: the context * * Acquire a lock on the pinned status of the HW context, such that the context * can neither be bound to the GPU or unbound whilst the lock is held, i.e. @@ -111,7 +111,7 @@ static inline int intel_context_lock_pinned(struct intel_context *ce) /** * intel_context_is_pinned - Reports the 'pinned' status - * @ce - the context + * @ce: the context * * While in use by the GPU, the context, along with its ring and page * tables is pinned into memory and the GTT. @@ -133,7 +133,7 @@ static inline void intel_context_cancel_request(struct intel_context *ce, /** * intel_context_unlock_pinned - Releases the earlier locking of 'pinned' status - * @ce - the context + * @ce: the context * * Releases the lock earlier acquired by intel_context_unlock_pinned(). */ diff --git a/drivers/gpu/drm/i915/gt/intel_engine_types.h b/drivers/gpu/drm/i915/gt/intel_engine_types.h index 960291f88fd6..1fc1fc882097 100644 --- a/drivers/gpu/drm/i915/gt/intel_engine_types.h +++ b/drivers/gpu/drm/i915/gt/intel_engine_types.h @@ -289,6 +289,9 @@ struct intel_engine_execlists { */ u8 csb_head; + /** + * @preempt_hang: preempt hang state for self-tests. + */ I915_SELFTEST_DECLARE(struct st_preempt_hang preempt_hang;) }; diff --git a/drivers/gpu/drm/i915/gt/intel_gtt.h b/drivers/gpu/drm/i915/gt/intel_gtt.h index 69ce55f517f5..a9aa72a8c59c 100644 --- a/drivers/gpu/drm/i915/gt/intel_gtt.h +++ b/drivers/gpu/drm/i915/gt/intel_gtt.h @@ -493,7 +493,7 @@ static inline void i915_vm_put(struct i915_address_space *vm) /** * i915_vm_resv_put - Release a reference on the vm's reservation lock - * @resv: Pointer to a reservation lock obtained from i915_vm_resv_get() + * @vm: Pointer to a reservation lock obtained from i915_vm_resv_release() */ static inline void i915_vm_resv_put(struct i915_address_space *vm) { -- 2.25.1 No virus found Checked by Hillstone Network AntiVirus