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=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 090D6C10DCE for ; Wed, 18 Mar 2020 06:48:08 +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 8B44220724 for ; Wed, 18 Mar 2020 06:48:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DoApgtBC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B44220724 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B960C6E1F2; Wed, 18 Mar 2020 06:48:06 +0000 (UTC) X-Greylist: delayed 346 seconds by postgrey-1.36 at gabe; Wed, 18 Mar 2020 06:48:05 UTC Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9EC596E1F2 for ; Wed, 18 Mar 2020 06:48:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584514084; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qs6zHDQ9hWCbXySzkR7QT/fX2FXyJF3dfU4ifK4dT+E=; b=DoApgtBCBDMNLbbLGAceAbF2tlIB0KHHGF+f1iC4C3iEVl8ll8vEEiQrn6+yI8XWMBwYv9 wtBpGnvIiYReIhc47jROUgRGiuyK7BzaNNLit+LyMeQKgY8WOk96tnsy/JnF84BfwyEpoR mSx4dD9LOzYXQdml+hyAgSk0WVS4cww= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-466-PRvZKJCcPSKSk28XbCaBmg-1; Wed, 18 Mar 2020 02:41:03 -0400 X-MC-Unique: PRvZKJCcPSKSk28XbCaBmg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CD5E8800D50; Wed, 18 Mar 2020 06:41:00 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-112-49.ams2.redhat.com [10.36.112.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 89EC27E30C; Wed, 18 Mar 2020 06:41:00 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 9BAAD17444; Wed, 18 Mar 2020 07:40:59 +0100 (CET) Date: Wed, 18 Mar 2020 07:40:59 +0100 From: Gerd Hoffmann To: Chia-I Wu Subject: Re: [RFC PATCH 0/8] *** Per context fencing *** Message-ID: <20200318064059.3xdwi2ugdcxw6y4g@sirius.home.kraxel.org> References: <20200310010818.569-1-gurchetansingh@chromium.org> <20200310074302.yx6anlvqvsg37yzs@sirius.home.kraxel.org> <20200311103609.ei446gelkvbqrdzm@sirius.home.kraxel.org> <20200312092940.xioyjloil3f25ccv@sirius.home.kraxel.org> <20200316074404.z4xbta6qyrm74oxo@sirius.home.kraxel.org> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chad Versace , ML dri-devel , Gurchetan Singh , David Stevens , John Bates Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, > > > I am still catching up, but IIUC, indeed I don't think the host needs > > > to depend on fence_id. We should be able to repurpose fence_id. > > > > I'd rather ignore it altogether for FENCE_V2 (or whatever we call the > > feature flag). > > That's fine when one assumes each virtqueue has one host GPU timeline. > But when there are multiple (e.g., multiplexing multiple contexts over > one virtqueue, or multiple VkQueues), fence_id can be repurposed as > the host timeline id. Why do you need an id for that? You can simply keep track of the submit_3d commands instead. cheers, Gerd _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel