Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp469723imw; Wed, 13 Jul 2022 01:49:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tpd5Xph17woCrd/z4LL+FLDH/PP1WR/2Ua14baIojilqYimIw09r2caaJKvNE9D+1kwrIr X-Received: by 2002:a17:907:d16:b0:726:a3bf:121d with SMTP id gn22-20020a1709070d1600b00726a3bf121dmr2297677ejc.390.1657702192995; Wed, 13 Jul 2022 01:49:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657702192; cv=none; d=google.com; s=arc-20160816; b=Ew4AdsRoCxBPB4MHVsgpyyVcb0mDUScarAOp9REqHli4JrR3Q9YEzwifvGVJnkXJDF RBAdUpwdUaVzXb97MdLYMWbcJtFiEhnYlTdBCBKcWFibvuCkBe+yspl2Fr7l3/9lPsuT wLjt4v84/Mt01Hxgz8DH63I3vcX8Y192rwHwRTkBT1JKCqK6lDVulQgs0oE/5/Z5TF3Y 6oOyt0+4zE9vKlpyUUi0cx9ZGjn3cj+Maa5EwCZliSgw9BVjbRfWSeTtpO7rj13gER85 UElJF6RUgpcohPfw+Pdfy68MJrkwv5rl152hWIKmzTVbqQtT0boxz0EoiQcJp9uCzQlZ YMSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=aPkV5nnLNTw9H4Lhr/T+U/+bE1LzlZjEx5I366NXH0w=; b=pFRQ3FENmdsSj3QkCYdWJZ01e5EJAzn2mqIzRhirwIceLOQ2PTvtrun+Xf6UGCPirt O5rIgU8kLiu9CMMzcMN+PQxLSW9ZukKDSVZeBVJbimMfrAk8/PVseKx2TKDurofvbSPS 9z3aADZdPt8ioMaFlS+snO3TX+Det0AArpU7vVSEMy9gqGU9zfpgCeyZoJfs3Qdf7SqZ PDC6m3DUW5bjcigLDh2VGRHy6h1VXSj3RdNPP99ydOErTZClnHEWD/Ufl2XJGfGuvTqj ijHEyb0l+ZFA0ZlI5fujoRMB+tnBB4X9MVbYTtsZ+RraaOk3/c+ftEjBJ9jr1LbWKYtP Q7lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=i6VEr4Q9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a1709060f0600b007262b2de87bsi15192148eji.839.2022.07.13.01.49.28; Wed, 13 Jul 2022 01:49:52 -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; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=i6VEr4Q9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235101AbiGMIMn (ORCPT + 99 others); Wed, 13 Jul 2022 04:12:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230106AbiGMIMe (ORCPT ); Wed, 13 Jul 2022 04:12:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51881E95F2 for ; Wed, 13 Jul 2022 01:12:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D9332619E3 for ; Wed, 13 Jul 2022 08:12:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CD50C341C8; Wed, 13 Jul 2022 08:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657699952; bh=M8Aa96Z3HuGE4hJ6GD7jHYRvms6KfUwfd7nos1sx0tU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i6VEr4Q9rLLmnWv89SYL91H13x3eIp0Shr8pK4yxK2eotosElh53kXaT+gkQEXr4P fjGFifbVlOcu5x5y+eZir6/ONoU+TfC5Y/0w8AUl1/npE6/PpyPjR5uwqPaLDIC60P zXwUeIEAUn8fuB4GLKvIy8PPB0k4ooveJuMNQQFk9mepNiiHqNVtuCJftQdPFjzzrt 2sII0ES3ywuu2FOjtxLllsoByPdG3X48xRiBv7e6xOXFobULtK3jjNSV2s16G8tABB IQkDCydA4Xb0BWlreGGF0lCBSdKN5HupxDxX0Y+R9oEUEC3SsBoJuY1GxB490ZhICr xrIs+Bl7Wy+3g== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oBXTx-004zt2-HM; Wed, 13 Jul 2022 09:12:29 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= , Daniel Vetter , David Airlie , Jani Nikula , Joonas Lahtinen , Matthew Auld , Rodrigo Vivi , Tvrtko Ursulin , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 11/39] drm/i915: i915_gem_ttm_pm.c: fix kernel-doc markups Date: Wed, 13 Jul 2022 09:11:59 +0100 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The documentation for the flags field is missing there. It sounds that some last-time change converted some bools into flags, but the kernel-doc change didn't follow it. Fix those warnings: drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c:135: warning: Function parameter or member 'flags' not described in 'i915_ttm_backup_region' drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c:135: warning: Excess function parameter 'allow_gpu' description in 'i915_ttm_backup_region' drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c:135: warning: Excess function parameter 'backup_pinned' description in 'i915_ttm_backup_region' drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c:199: warning: Function parameter or member 'flags' not described in 'i915_ttm_restore_region' drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c:199: warning: Excess function parameter 'allow_gpu' description in 'i915_ttm_restore_region' Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v2 00/39] at: https://lore.kernel.org/all/cover.1657699522.git.mchehab@kernel.org/ drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c b/drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c index 9aad84059d56..9843831c9b37 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c +++ b/drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c @@ -123,8 +123,9 @@ void i915_ttm_recover_region(struct intel_memory_region *mr) /** * i915_ttm_backup_region - Back up all objects of a region to smem. * @mr: The memory region - * @allow_gpu: Whether to allow the gpu blitter for this backup. - * @backup_pinned: Backup also pinned objects. + * @flags: Bitmap field with the following flags: + * %I915_TTM_BACKUP_ALLOW_GPU: allow the gpu blitter for this backup; + * %I915_TTM_BACKUP_PINNED: backup also pinned objects. * * Loops over all objects of a region and either evicts them if they are * evictable or backs them up using a backup object if they are pinned. @@ -188,7 +189,8 @@ static int i915_ttm_restore(struct i915_gem_apply_to_region *apply, /** * i915_ttm_restore_region - Restore backed-up objects of a region from smem. * @mr: The memory region - * @allow_gpu: Whether to allow the gpu blitter to recover. + * @flags: Bitmap field with the following flags: + * %I915_TTM_BACKUP_ALLOW_GPU: allow the gpu blitter for this backup; * * Loops over all objects of a region and if they are backed-up, restores * them from smem. -- 2.36.1