Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4586479imd; Tue, 30 Oct 2018 04:32:59 -0700 (PDT) X-Google-Smtp-Source: AJdET5c+gb5G9dOOeqDlq26UH/cIpODyObBZUGrtbruIeJQC1P+kQQbgERDmvW1OuGNLTkQv9NK0 X-Received: by 2002:a17:902:9009:: with SMTP id a9-v6mr18371928plp.134.1540899179695; Tue, 30 Oct 2018 04:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540899179; cv=none; d=google.com; s=arc-20160816; b=QIqVoMsI8dDHrajnh2SZk4AkLznVH6+4Hqkjk0Bm4OpLWJNgqL/ettV4qhUPceiysl 6GQAewFTlmdRPYT+g5Z1v9RdkgwBNJd+Hob+nEpq8zBXn47PFs13E6keXVOUSPq5UQ6C ZAdj9u6W/Q3Ta6XVGpqbB5iCPkINFeSA0NZOeI1WqQ71mQMn5oumrUD2WnDRFO324TpI AxOLDxZWLdWnek3fFzHbRWYNw7k2Ub7SnjTcjolH+XDekvmIAcLj152iS0zruhJI97My xd0GpHnPEku/Wn7FHV/0Pavcq8sGfEiZc/Rqw2D8qNNZJhlj7Jpg9PiGIOtXe6P8WODe gO0w== 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=E04pV4Qobv3gDE4RrtGIrhsAe23uBikvEc8jciqeZHo=; b=aPCI3L8fXh6EpsOFWrfd7rDMM8LVU7XwOgQgun6qPyEcxPJGPdKEJK9vqtdsrrlDXB zqgliVDAHWSKuuX4yW+IwOpnhuqrqf8hn71ILBQ3DmAOMqKqxTRP0r5RXqwA13Su2Le+ KH9QgZeVMiTOMl3XNdpevb1ZC7FKya1MRy7C7bYFIC92rkvqYU9GnXj0ywSB2vC1GOdf Tf4odM7QBhMK4AqpxznlHbiVAMwR08uTqM7WCr3avIEikGCZsfErmaPSzxI4OSgtdxdO 0daszfpHHs2VRL0PQh1GOOrOqV8jvN6xmoB3C22G3zFwQJVYQv2iM39sLhO1WobN/Q7/ 8uBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K8NHHmGI; 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 a144-v6si6657496pfd.138.2018.10.30.04.32.43; Tue, 30 Oct 2018 04:32:59 -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=K8NHHmGI; 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 S1727277AbeJ3UZ3 (ORCPT + 99 others); Tue, 30 Oct 2018 16:25:29 -0400 Received: from mail-vs1-f66.google.com ([209.85.217.66]:41244 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726886AbeJ3UZ2 (ORCPT ); Tue, 30 Oct 2018 16:25:28 -0400 Received: by mail-vs1-f66.google.com with SMTP id t17so4250389vsc.8 for ; Tue, 30 Oct 2018 04:32:22 -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=E04pV4Qobv3gDE4RrtGIrhsAe23uBikvEc8jciqeZHo=; b=K8NHHmGITW7DwzLZjd2gTOQ/ga2HQmQZYnLqMqYBDW/afRxEbw+Mj3J4m0RzFtrlKI qx5RQErR6yBPsW+aCjEWL3Y8lg12DzvKkFKLMCeey/N7vLK2EoUvZ8Lxt78r3c9h9rRO 0KEqbTU0UAi/uh5OZjpcIxY5ktemC/fqmpdWK8W7ibklZDMwMXfbiKKWlm3xnDn1li5V f2zj5k6nYL0T8kcHHFi3v/p8QB+ySkMiq02uZlR/BtkrwGnbWKl8SpEokDcZv4s2TAH0 /lQ71M5IxZY5bwjCg7MUyKRAN+9cy3YthCtPr+FP+8n8NT7SsotlHLhqStJvc88MjWf0 f8Tg== 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=E04pV4Qobv3gDE4RrtGIrhsAe23uBikvEc8jciqeZHo=; b=q94gFATFIDQyGPOnKb+n4LQpfxSW1wHeohuNB4UFSQH3znVux+nc+aSgVXCkE56xy+ EOnssLbvMoJmcgPN62rT4Cez1kshTJpZ5bkHsNO8ACuOIpvAZX9IkQIAqF5fsk2KqBDF QOLsnKCj5YsO0mOs9EyumIBegpq1aSYxdPZanDZYjslo2vxJVKOdp2KTxqHMlxGUDxQt zzAxJZy0nnIcXLfR5exq7AFYAM3byx7XjHcgKJiK9xaq/mzRaBb9pe4gB4EtGK4NEyiK +PY+uecfeO341N/RfMInofgQ/DytHXDJHO/fglTrXFSZpoFG1seU3u4uTZflfGP/MUKG krCA== X-Gm-Message-State: AGRZ1gKVah7ja4sOxqmBsbkYyuMc4GfjqnLkhAmhb6Kua6rOvDgVq+Du p6Af/Lr8k8Ck8pS+vKgKaDxQvU/Jg+EPxnRPfgs= X-Received: by 2002:a67:60c7:: with SMTP id u190mr4556581vsb.85.1540899141292; Tue, 30 Oct 2018 04:32:21 -0700 (PDT) MIME-Version: 1.0 References: <20181025183739.9375-1-robert.foss@collabora.com> <20181025183739.9375-3-robert.foss@collabora.com> <20181030061127.hp4n2scw5f3j2rqq@sirius.home.kraxel.org> In-Reply-To: <20181030061127.hp4n2scw5f3j2rqq@sirius.home.kraxel.org> From: Emil Velikov Date: Tue, 30 Oct 2018 11:31:04 +0000 Message-ID: Subject: Re: [PATCH 2/5] drm/virtio: add uapi for in and out explicit fences To: Gerd Hoffmann Cc: Robert Foss , David Airlie , "Linux-Kernel@Vger. Kernel. Org" , ML dri-devel , "open list:VIRTIO GPU DRIVER" , 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 Gerd, On Tue, 30 Oct 2018 at 06:11, Gerd Hoffmann wrote: > > Hi, > > > The execbuffer IOCTL is now read-write to allow the userspace to read the > > out-fence. > > > #define DRM_IOCTL_VIRTGPU_EXECBUFFER \ > > - DRM_IOW(DRM_COMMAND_BASE + DRM_VIRTGPU_EXECBUFFER,\ > > + DRM_IOWR(DRM_COMMAND_BASE + DRM_VIRTGPU_EXECBUFFER,\ > > struct drm_virtgpu_execbuffer) > > That changes the ioctl number and breaks the userspace api. > Have you looked at the drm_ioctl() implementation? AFAICT it explicitly caters for this kind of changes. -Emil