From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2CFEA6E054 for ; Wed, 16 Jun 2021 23:22:36 +0000 (UTC) Date: Wed, 16 Jun 2021 16:22:34 -0700 Message-ID: <87fsxh2y4l.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20210616165724.480899-1-jason@jlekstrand.net> References: <20210614163704.365989-4-jason@jlekstrand.net> <20210616165724.480899-1-jason@jlekstrand.net> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Subject: Re: [igt-dev] [PATCH i-g-t] tests/i915/gem_shrink: Convert to intel_ctx_t (v3) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Jason Ekstrand Cc: igt-dev@lists.freedesktop.org List-ID: On Wed, 16 Jun 2021 09:57:24 -0700, Jason Ekstrand wrote: > > @@ -185,13 +188,16 @@ static void execbufX(int fd, uint64_t alloc) > > execbuf.buffers_ptr = to_user_pointer(&obj[j]); > execbuf.buffer_count = i + 1; > - execbuf.flags = engines[j % nengine]; > + execbuf.flags = engines.engines[i % engines.nengines].flags; Should this be [j % engines.nengines]? Apart from this, this is: Reviewed-by: Ashutosh Dixit _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev