Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4745927imd; Tue, 30 Oct 2018 06:53:52 -0700 (PDT) X-Google-Smtp-Source: AJdET5firhspB7+anjCCB5odsNTi+61kbxOJN52ZLJ7zUPouKqQjr9wytHTMSL9/1K7wPLytL86F X-Received: by 2002:a63:4c23:: with SMTP id z35-v6mr18290243pga.312.1540907632367; Tue, 30 Oct 2018 06:53:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540907632; cv=none; d=google.com; s=arc-20160816; b=iAiM/6cVLyPK6q/02SS7bjom8ALQbHBGeG4RuZ+WknFEdtWmrXaVHuG1iDSh9bUvuq cS4JhIi9xTveG0HoS0aI2Wpzs75HGosRTeMoVOiWdOFyBh1UoE4AKfgGeAQ/PiJ1jUwl ULnwtwZhXkl+XcB+Sd/oPV2wJUbHWSFVYukDz0qluJeMo/huDGxaEbrkKtDt4wPUwqVD xr+hC72vZX+tse1MY5o7FlyaQ60SDDJNI9wKh0Lxu/dFFdD+PuEpEmqzwgTDIbkg8LRc NhYwESduPTV/vUulJ4rIQP8Va2V2YKrlrqvigeb4sg3YeIK8efDGU5J848+cGbgXxgeI JY8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=wk1aeeoVeNv9fzRvT/U2GSBREsHIj3EI8a/rCM5Jfpg=; b=IXZKVvRFG5oiTML9qCIhUO9J5SbOumXRte6q6e9xq+LuwrOKNnz1Fsm8OUFaj7h4ZF 9pTW0ebnjpAZ64bp7neizud/ZZnEaNcENfJv4ze+Pu+4nFdClYC4bv1esqj0OMx/hUiQ zNIGLVq9YhsXo389DJhuclzYR+d9oiBkhfdo9hT8dXdrezZYl2Ru+ftf1xiIIKsPXSRR nH2BAggsZ5LYMpLoo3eY6n7xgGqwMHYKHInWtbGnard5icWejuF2HV2hcIxDbfSxw0En dYgqitIP2fIKE/TwEKWirfMYwa/GgKoWnE3Cgs0h7tCIWn00yFgTAhQwOtX0XC36DJYd tyKQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g18-v6si8519580pfb.278.2018.10.30.06.53.35; Tue, 30 Oct 2018 06:53:52 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727956AbeJ3WqS (ORCPT + 99 others); Tue, 30 Oct 2018 18:46:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47476 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727650AbeJ3WqS (ORCPT ); Tue, 30 Oct 2018 18:46:18 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3951B89AC0; Tue, 30 Oct 2018 13:52:44 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-158.ams2.redhat.com [10.36.116.158]) by smtp.corp.redhat.com (Postfix) with ESMTP id C8B8B5E7C2; Tue, 30 Oct 2018 13:52:43 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id A4A927731; Tue, 30 Oct 2018 14:52:42 +0100 (CET) Date: Tue, 30 Oct 2018 14:52:42 +0100 From: Gerd Hoffmann To: Emil Velikov Cc: Robert Foss , David Airlie , "Linux-Kernel@Vger. Kernel. Org" , ML dri-devel , "open list:VIRTIO GPU DRIVER" , Gustavo Padovan , Emil Velikov Subject: Re: [PATCH 2/5] drm/virtio: add uapi for in and out explicit fences Message-ID: <20181030135242.doccralyqaqzshyx@sirius.home.kraxel.org> References: <20181025183739.9375-1-robert.foss@collabora.com> <20181025183739.9375-3-robert.foss@collabora.com> <20181030061127.hp4n2scw5f3j2rqq@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 30 Oct 2018 13:52:44 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 30, 2018 at 11:31:04AM +0000, Emil Velikov wrote: > 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. Looking ... The direction bits are not used to lookup the ioctl functions, so it should work indeed. Series doesn't apply to drm-misc-next and needs a rebase. cheers, Gerd