Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1604353rwn; Fri, 9 Sep 2022 00:39:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR5USHVOEL3J08xkCGVuJcgWK3j7YLM8PEB1yW7ssS7Rs7hjkJ0FEJq/4PbowFNrNF42dGAu X-Received: by 2002:a05:6512:3f14:b0:47d:e011:f19b with SMTP id y20-20020a0565123f1400b0047de011f19bmr3734405lfa.427.1662709177638; Fri, 09 Sep 2022 00:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662709177; cv=none; d=google.com; s=arc-20160816; b=zaXBFDMNVcAi66Tpxx34/uOBISTRYT/ANU+gVrVWOmzROJB7RGkUzb0xCdF7lLXhJw gw6+26lrqEtRFuP4zpX6RjMdFYMaSd1FgQtJHJ+tBGmDGrKBvPasq3ywBiAaQIs7C2eo 775KXZY8+6+rb0n2DBCeAZdpJohyVNKGNcZGidwE6EZm6uZL3IRzr9cc0tl2oUaqzZNo FhR3j9duaQicdHfSpnJCZ2G9+kH1MdopF+GsIEBOYvHBd/D1LHmoyo3iXnplG8d18LYU NoNrX+fio70IEh09p4N3LU1F2ZkrWH0gh/Xw9z1ElOWJukRuk5d1rV66jwfl/3wtbcJG I1CQ== 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=4Bbi8vXYacFxxdSgleHh6ssVTEa/O8uFyAU4xBMF3ow=; b=v+H/8aJDgBSi2ndgotwe6GFgggFax5wwufCGlLIMkn/c/4DnWr1arfafmPonsdDnj6 UDLzFzBx31Vywth8agiv93eJKMIrVyubuPy+/waH3a6t7JJl5I6ZHJSW6VvpB6w0v9BW Km+6+dnPHOqmvCEI2cU13IzPN1YfnHLCMldlLqGmLx+GAyP6CJuxjTTCwYJls8uENLUT VwDTQKLFlf8j2DlYHFKUqsuJbaFzuE73L0uD/pMZjliFr5SG0LXVxE2YpGwrr/fDKtyj XBYGg3azV92qtf2C4Zdq7PhtnXMSryflq6EXWE8kwyMvUACofN/zrgSbfzqzXofnvoP/ T3PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=mQUwpDpq; 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 l21-20020a2e8695000000b00265d94b1f0bsi531599lji.165.2022.09.09.00.39.09; Fri, 09 Sep 2022 00:39:37 -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=mQUwpDpq; 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 S231411AbiIIHgu (ORCPT + 99 others); Fri, 9 Sep 2022 03:36:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230363AbiIIHfw (ORCPT ); Fri, 9 Sep 2022 03:35:52 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34E119AFED for ; Fri, 9 Sep 2022 00:34:59 -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 sin.source.kernel.org (Postfix) with ESMTPS id 6FC0ECE216F for ; Fri, 9 Sep 2022 07:34:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BFDDC4314E; Fri, 9 Sep 2022 07:34:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662708894; bh=kq+lyxbbDmby+IrOOuNakMyWg5dejrvPtASXMVHDoeg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mQUwpDpqNpynKR2WFztM6f2/85fkEZf1uSmTET4mttU9Qjp60lQsmpbuHT55TANPx GlF0HmaQmG4O9LUAVju5grZu3E8hCtikmN+13N+oBTvR1mfROF+OteRnvZD8iOOE2H /goI6dUN+2zX4l8Nci7KQU0WdfHwvxL6VO3xkGSqUBrHqjPNd37u4P9NUM4TJc678Q tyiWmBGawcacplt4caX30YBZMeRAuTEnOVbeKbSz9Xp49q/rKbLrJ+fEVMwyPCbwDv ZQ+URXa5ArI3vvIbPKHvH2VR0r+FiTWkaDPcMJIgiMtp8rSvmzLJIAWvNCg4uCHDIZ /DzDMuSNb4R5w== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oWYXG-007FGF-3C; Fri, 09 Sep 2022 09:34:46 +0200 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , "Rodrigo Vivi" , Alan Previn , Daniel Vetter , David Airlie , Jani Nikula , Joonas Lahtinen , Lucas De Marchi , Tvrtko Ursulin , Umesh Nerlige Ramappa , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 10/37] drm/i915: i915_gpu_error.c: document dump_flags Date: Fri, 9 Sep 2022 09:34:17 +0200 Message-Id: <68f62ba4393bffb40ffdeb2cb3ef1eed9bff1b5d.1662708705.git.mchehab@kernel.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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 Kernel-doc dump_flags parameter is missing at i915_capture_error_state(). Document it. Fixes: a6f0f9cf330a ("drm/i915/guc: Plumb GuC-capture into gpu_coredump") Reviewed-by: Rodrigo Vivi 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 v3 00/37] at: https://lore.kernel.org/all/cover.1662708705.git.mchehab@kernel.org/ drivers/gpu/drm/i915/i915_gpu_error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c index 9ea2fe34e7d3..c2350284f221 100644 --- a/drivers/gpu/drm/i915/i915_gpu_error.c +++ b/drivers/gpu/drm/i915/i915_gpu_error.c @@ -2148,7 +2148,8 @@ void i915_error_state_store(struct i915_gpu_coredump *error) * i915_capture_error_state - capture an error record for later analysis * @gt: intel_gt which originated the hang * @engine_mask: hung engines - * + * @dump_flags: bitmap flags. When %CORE_DUMP_FLAG_IS_GUC_CAPTURE is used, + * dump engine record registers and execlists. * * Should be called when an error is detected (either a hang or an error * interrupt) to capture error state from the time of the error. Fills -- 2.37.3