From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72300C12002 for ; Wed, 21 Jul 2021 15:53:55 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3950A60725 for ; Wed, 21 Jul 2021 15:53:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3950A60725 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D52136E97A; Wed, 21 Jul 2021 15:53:54 +0000 (UTC) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id D7A1F6E97A for ; Wed, 21 Jul 2021 15:53:53 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10052"; a="208344623" X-IronPort-AV: E=Sophos;i="5.84,258,1620716400"; d="scan'208";a="208344623" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 08:52:42 -0700 X-IronPort-AV: E=Sophos;i="5.84,258,1620716400"; d="scan'208";a="576732107" Received: from unknown (HELO intel.com) ([10.212.44.180]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 08:52:41 -0700 Date: Wed, 21 Jul 2021 11:52:40 -0400 From: Rodrigo Vivi To: Jason Ekstrand Message-ID: References: <20210720182108.2761496-1-jason@jlekstrand.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [Intel-gfx] [PATCH] drm/i915: Correct the docs for intel_engine_cmd_parser X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Intel GFX Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Wed, Jul 21, 2021 at 10:25:27AM -0500, Jason Ekstrand wrote: > Would you mind pushing? I still don't have those magic powers. :-) > > --Jason > > On Wed, Jul 21, 2021 at 5:05 AM Rodrigo Vivi wrote: > > > > On Tue, Jul 20, 2021 at 04:04:59PM -0500, Jason Ekstrand wrote: > > > On Tue, Jul 20, 2021 at 3:26 PM Rodrigo Vivi wrote: > > > > > > > > On Tue, Jul 20, 2021 at 04:25:21PM -0400, Rodrigo Vivi wrote: > > > > > On Tue, Jul 20, 2021 at 01:21:08PM -0500, Jason Ekstrand wrote: > > > > > > In c9d9fdbc108a ("drm/i915: Revert "drm/i915/gem: Asynchronous while pushing I noticed this hash was for the patch in the drm-intel-fixes branch. I updated to the right one in drm-intel-gt-next. Then I also added the Fixes tag and cherry-picked to drm-intel-fixes branch. Everything pushed now. Thanks for the patch, Rodrigo. > > > > > > cmdparser""), the parameters to intel_engine_cmd_parser() were altered > > > > > > without updating the docs, causing Fi.CI.DOCS to start failing. > > > > > > > > > > > > Signed-off-by: Jason Ekstrand > > > > > > --- > > > > > > drivers/gpu/drm/i915/i915_cmd_parser.c | 4 +--- > > > > > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > > > > > > > > > diff --git a/drivers/gpu/drm/i915/i915_cmd_parser.c b/drivers/gpu/drm/i915/i915_cmd_parser.c > > > > > > index 322f4d5955a4f..e0403ce9ce692 100644 > > > > > > --- a/drivers/gpu/drm/i915/i915_cmd_parser.c > > > > > > +++ b/drivers/gpu/drm/i915/i915_cmd_parser.c > > > > > > @@ -1416,9 +1416,7 @@ static unsigned long *alloc_whitelist(u32 batch_length) > > > > > > * @batch_offset: byte offset in the batch at which execution starts > > > > > > * @batch_length: length of the commands in batch_obj > > > > > > * @shadow: validated copy of the batch buffer in question > > > > > > - * @jump_whitelist: buffer preallocated with intel_engine_cmd_parser_alloc_jump_whitelist() > > > > > > - * @shadow_map: mapping to @shadow vma > > > > > > - * @batch_map: mapping to @batch vma > > > > > > + * @trampoline: true if we need to trampoline into privileged execution > > > > > > > > > > I was wondering if we should also return the original text, but this one > > > > > here looks better. > > > > > > > > > > > > > > > Reviewed-by: Rodrigo Vivi > > > > > > > > btw, while on it, I wouldn't mind if you squash some english fixes to > > > > the trampoline documentation block inside this function ;) > > > > > > I don't mind at all but I'm not sure what changes you're suggesting. > > > > nevermind... > > It was just my broke english that didn't know the inversion on the "only if" > > > > > > > > > > > > > > > > > > > > > > > * > > > > > > * Parses the specified batch buffer looking for privilege violations as > > > > > > * described in the overview. > > > > > > -- > > > > > > 2.31.1 > > > > > > > > > > > > _______________________________________________ > > > > > > Intel-gfx mailing list > > > > > > Intel-gfx@lists.freedesktop.org > > > > > > https://lists.freedesktop.org/mailman/listinfo/intel-gfx _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx