Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp444675rwe; Thu, 25 Aug 2022 03:22:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR5lQghdrdFnOhMpNnrDqBXXwzonz8vTaCv4ZDb+9jFJmCU2EAZt6nvD/mcRnSGZu2j1UQ+H X-Received: by 2002:a17:90a:c402:b0:1f7:75ce:1206 with SMTP id i2-20020a17090ac40200b001f775ce1206mr4007409pjt.68.1661422962532; Thu, 25 Aug 2022 03:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661422962; cv=none; d=google.com; s=arc-20160816; b=O7w9sW2WCjAhiPrskONq932sH1LFCcYpKAOYTZQXUqT+N7izZ10JgrNvue8CWee4jG mCO3sMt0uFvwnsdLCun3gK/K5QEJxYZKtD4LdBBY8HWAV4ALJDmuG3Zh5F6SlfCVLj7r V6yvfdj8G0fQqezvZWFEwnAXz+cs6EYzq3aSOXSi16nhGzEof3H+Ys7j905d9xvIwbQT uQCf4I7r+0GbJJ2oVIixtHxxpo8eXugPhsfKjzLAEtXu8hmICdhDmAPJ7df8/nxKV4eY r8s34W0sDn8rOndqYPDmJNFVMEjfmWRDvrcwQF2R2hSjVDZFA2b/c53ZiMYwrs6Z7pDg BosA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5Tq1zsr7zrYFwkPaHdBsH4WoR9jozHjv6oFZQItNY9s=; b=V3vQWgMGQ3Z0/tqBePI80bdQbeivh90yp8VU2FUfJWUi82trevNzr7rPAg2/T0nsSu 1/w/VDrsO9YOPXJe21ItVG3b5VphNMyu+2PMRxX+qzOnhyTh07MUBWQUwtvogVdb/xbf g4o07Std4oehWkmF2IQ3P6sANEPyiZoTLsBl8B0ZxLgab0Vewga+jb6t5ldRb/+5sbpk /wMr8mcP6yjkoKj31LPwHtkVFMTVGe3DZG8W3YlvpSXOB47YjfkPGWvUzzCzjIC7jFLy 7Jo24bGwt3hNJGJIKX0fYr6d7WFzJB9Rpfv3N5Zp8Ufp/iwmYAZ/E2mGQ7bCOTOghv6g tFQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cccqg9Nq; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 38-20020a631366000000b0041dc9038d32si20766071pgt.373.2022.08.25.03.22.31; Thu, 25 Aug 2022 03:22:42 -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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cccqg9Nq; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240197AbiHYKAK (ORCPT + 99 others); Thu, 25 Aug 2022 06:00:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbiHYKAI (ORCPT ); Thu, 25 Aug 2022 06:00:08 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AB5837FAD for ; Thu, 25 Aug 2022 03:00:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661421607; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5Tq1zsr7zrYFwkPaHdBsH4WoR9jozHjv6oFZQItNY9s=; b=cccqg9Nq8ugYhYoRNKchryjFX2sSnu4rbTrfeMEnzQ5Afsxe41IlaM0ydQUMsW5BzfEHbY 3hLGMof08fM2mau8gXUovCzaHuiHswpHXOTrKKqyubSvkQ6gK9naGFf+oADHhDIzMuFPTq nwUIOSkZsVwnNvMt8qAiDTpSsO7EVz4= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-281-tsHqy3GhMD25JslMfibTwA-1; Thu, 25 Aug 2022 06:00:00 -0400 X-MC-Unique: tsHqy3GhMD25JslMfibTwA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EDD991C068C0; Thu, 25 Aug 2022 09:59:59 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.195.82]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4FCF62166B26; Thu, 25 Aug 2022 09:59:59 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id E2D651800082; Thu, 25 Aug 2022 11:59:57 +0200 (CEST) Date: Thu, 25 Aug 2022 11:59:57 +0200 From: Gerd Hoffmann To: Rob Clark Cc: dri-devel@lists.freedesktop.org, Rob Clark , David Airlie , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Lingfeng Yang , "open list:VIRTIO GPU DRIVER" , open list Subject: Re: [PATCH] drm/virtio: Fix same-context optimization Message-ID: <20220825095957.jjwx7inatburplox@sirius.home.kraxel.org> References: <20220812224001.2806463-1-robdclark@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220812224001.2806463-1-robdclark@gmail.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 12, 2022 at 03:40:00PM -0700, Rob Clark wrote: > From: Rob Clark > > When VIRTGPU_EXECBUF_RING_IDX is used, we should be considering the > timeline that the EB if running on rather than the global driver fence > context. > > Fixes: 85c83ea915ed ("drm/virtio: implement context init: allocate an array of fence contexts") > Signed-off-by: Rob Clark Pushed to drm-misc-next. thanks, Gerd