Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5834167imd; Wed, 31 Oct 2018 02:48:35 -0700 (PDT) X-Google-Smtp-Source: AJdET5eDfBZtBOiDMYWHqGeBmfRPcWoR61YpddVgW/nWRJBLqqyVZa1FuEwAYzqB7/gDfu4wK0Vk X-Received: by 2002:a63:fa4e:: with SMTP id g14-v6mr2474710pgk.18.1540979315268; Wed, 31 Oct 2018 02:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540979315; cv=none; d=google.com; s=arc-20160816; b=wLNQ5D+c59dRLhtR6Iqf2i20VmrrR/c4+UuFhezIsbb+oPWHckhLryBigm+W6AJ5tL P0CdPG0wBvbYOagBQBcDlTvBw/6NsSiAtXSHnduAHIv6eAQrtSsXbSDVPpbDShPLbYLu WjDLlXU09mJv9YhrydtSNUmh29HeGB/SE+ZG62N+DzKTeKgv8n9UEpGru4BQRqJqeiJY muOVZ6u9XSLOVv/GoB9K8eW9KXv24Hnwe+xIViCI0GdPsqG8dI3OKDfYTaGIom+b/m0G QDNprblsZDvGhsAQyrt/rEv5pt2+PxSFUCn8a3JciJIr5q+YgbZfQuttR+9aIMdd6SX8 sA6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1FSkhAaaRYQ810JuigKdPIuYFjFvfKU35f3b681oNGE=; b=giSgNNHKvoOd91GWSifVWlOfP6brTG5yjt20BO9UNl18qT4eVAb7uV91ZwCbOMdulG plVCPmm+/auo+zJ7rq35FFl0jSyIG+MVHg1p+TWDmNooOEih1IgJp06iZxKV0NmHn1kV 0cu+Ecj4nSVb7YmPembcfkUB+C3oZmZ3TGEBQxBlTaO3K9hpSKQ3Kym/FDk/Qf5t/YHa RYllseMPTWOU1Q56rQyl8B3ddC8RRT8pFMAtLS5SdP4GuqJ7H1Q0+5Ymwqtz4GgLQbeD 17FVBKGIoTY4XkG8NEdI3sd9BVOgAZF7cZigh3Wh7nRW0GAgAZT8X3vajNtInfETiPDV I1fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dz6C5jQG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13-v6si27023461pgj.399.2018.10.31.02.48.19; Wed, 31 Oct 2018 02:48:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dz6C5jQG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728213AbeJaSnr (ORCPT + 99 others); Wed, 31 Oct 2018 14:43:47 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:46472 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727950AbeJaSnr (ORCPT ); Wed, 31 Oct 2018 14:43:47 -0400 Received: by mail-ua1-f68.google.com with SMTP id z8so5641146uap.13 for ; Wed, 31 Oct 2018 02:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1FSkhAaaRYQ810JuigKdPIuYFjFvfKU35f3b681oNGE=; b=Dz6C5jQGdkscY2t9rjjvBqtZt5azT0AQ332qFsrw2ScnkKsiUNPBtVWo6FSEmAb1nl 3KEUcKsj4oZVi4GvHz3sCSJjvqeqCkF1u0g/33qYk5UjWbc82pzXju/8TldE2AWoPptO wU5GNKoV6myqpPypTzTdSFnylAZkrd13wB4wYFkp1+JS1/3b9uPtPGjChyRAt9IfYmiz 5CeHygDtkNtOhh0ddy/EFVVMIKHmiAx1UNpJIuGfBDbsFLVEfCGUpW+BJJkwxnbuyaPt HMeYWOg12vJGqIQBHeROncJ0Kbket+gG0FL5tCq/q5qfGyhbK2mkPQGAK8o14KKPRGod L/Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1FSkhAaaRYQ810JuigKdPIuYFjFvfKU35f3b681oNGE=; b=bvP7+k1KgH/BCUZAkXsCdo+iBg9F39m8qRF0o1fEaL75h3Fq4DoKshNYnY3o291pog zxErOnkA1TLzd4dLKf39Wthsb2IyQqHNbzC+xQT0k169T0QET66gMxCW1oB+toCu+Y8X Zf0DGVAi0KzQdnvqTO8hs/pmqGsTosZO8Bu2xXKBnmuEKdcyMualOiOv0A+h5JYzY2Ch /NvzSAoSW2ttQZYx1CKi5CETpW9Wz3gnh3PXC/o4Ti/rtZ1aCb1AF1VD2pNmwbtLBczL fApfVSnV7ewZIfnGbKec+GzmownYRtmHIE1735Tydq7jMfGG+mKmYZJKpLepSXqkCHqr iYPg== X-Gm-Message-State: AGRZ1gKMWCGpNBoHWBlkBinHU+MW86gnjxxnbE5MGue5MapknthSTuHq Za3ItidyAZHUHNh9Po9Zlg4gpHXUv49mOwZRbFA= X-Received: by 2002:ab0:7055:: with SMTP id v21mr980814ual.1.1540979183303; Wed, 31 Oct 2018 02:46:23 -0700 (PDT) MIME-Version: 1.0 References: <20181025183739.9375-1-robert.foss@collabora.com> In-Reply-To: <20181025183739.9375-1-robert.foss@collabora.com> From: Emil Velikov Date: Wed, 31 Oct 2018 09:45:05 +0000 Message-ID: Subject: Re: [PATCH 0/5] virgl: fence fd support To: Robert Foss Cc: David Airlie , Gerd Hoffmann , ML dri-devel , "open list:VIRTIO GPU DRIVER" , "Linux-Kernel@Vger. Kernel. Org" , Rob Herring , Gustavo Padovan , Emil Velikov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Thu, 25 Oct 2018 at 19:37, Robert Foss wrote: > > This series implements fence support for drm/virtio and > has been tested using qemu, kmscube and the below branches. > > Rob Herring solved a reference counting issue and > suggested a context check for the execbuf ioctl, his > changes have been included in the below commits to > keep the tree working at all commits. > I've put forward some mostly minor suggestions. The patches look pretty good but there's one piece missing: > > The linux series can be found here: > https://gitlab.collabora.com/robertfoss/linux/commits/virtio_fences_v3 > > As for mesa, the branch can be found here: > https://gitlab.collabora.com/robertfoss/mesa/commits/virtio_fences_v3 > Namely: This should be out for review. The kernel and userspace side of IOCTLs should happen roughly at the same time. Otherwise, there's a huge chance of merging one side of the component, while the other needs architectural changes. HTH Emil