Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4888462imd; Tue, 30 Oct 2018 08:51:03 -0700 (PDT) X-Google-Smtp-Source: AJdET5fvM7Y8aXxMROrqltdsZb8l7iIuYXXjY5o3XZNuvQcNn/gzd8wRbzU3C0+9quKx23ladqY9 X-Received: by 2002:a17:902:3181:: with SMTP id x1-v6mr18871275plb.71.1540914663775; Tue, 30 Oct 2018 08:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540914663; cv=none; d=google.com; s=arc-20160816; b=pEMZeRGUvH0PaJGQdufQXGkH0GwBRII7/YaSg3mb9FYf2q7e87C/JYvRZOFh4D+9aP re7n6XSN9Xkio8Gc7mIDi58NLDx/iwthTwtuetz53OlG594M+Of86KeS+CAVEmdIkBhQ wAo/sRXrR6R4V3c+q5/PFkcSdOKELpm1wZkecsp/o2kvgyThDsw+Usv5szCT0kDv+TTf +/03iGrL1+vSSQLWSt5FBsGvYSpSgTol9grFTJGz4MsH8MV3qHujP+gLelaVfmyL763Y iQqBLQI59FAIm9VvlAUkYUCHmKfTxL/ydSbSm91O2ysxeJTR9g+TRasAksGBYxNg+LyC BFbw== 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=lY3qh/y6H2uPpcsadtL27CmpydoR1RntDCew5HITJgk=; b=jFgEhIPrVdCZoU/JJCvmkdTZLlmBoqse+LJUifwcsnX1sDeWpY6ugKo7RzV97Kzsxy Rk1cNv0kXWTcoliF3HPAGYyhez9kGZ9eTiQf2QXe02jAgDvxTTKbOjPVVUSpLt336Ks7 +N85ZrPsDWyfmvcs4UjN4cIDpBHdpHUFSk3YlduWW7uJ2sHdQeqilBU4MAUPhRR6YhPx 7VQjBnPyqtluFibAK0t077ZWQ119ynixVj+OnKRlfP6pXcsoAqyMmg6dd/dgkzzWY9fO J57N8F+GrAMmxA9SWOpU896RCu04+wikVOguFF9987akynnJZXn7geFdG/or7ZhZClc6 zy+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="We/i6ryV"; 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 go1si23012865plb.242.2018.10.30.08.50.46; Tue, 30 Oct 2018 08:51:03 -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="We/i6ryV"; 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 S1727558AbeJaAoM (ORCPT + 99 others); Tue, 30 Oct 2018 20:44:12 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:36065 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725853AbeJaAoL (ORCPT ); Tue, 30 Oct 2018 20:44:11 -0400 Received: by mail-ua1-f68.google.com with SMTP id w19so4667259uaj.3 for ; Tue, 30 Oct 2018 08:50:11 -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=lY3qh/y6H2uPpcsadtL27CmpydoR1RntDCew5HITJgk=; b=We/i6ryVS9tKcBGAlVEa0UdXxKF/qfNC5D0udNiEMG4BAU0QJskasD3azOXk4o/N/a EICtGsRLetXUPbODfYV0imoqK6I2QElxWed2kEN0SK5PLPlitCOmCqb3CLTDbH5htVXC MHa2uyLcnRwDqloNObb+t4eoNEdlwr5N5s8WKCnMKp1fy9uci+D9b1jOZ0rFx0XJGW9Z jHNiXxui8UXlzdjme/mVxDSrfxWJXt3BqoIkJgDmExECh5xlWdAbWmnIGUWBtL4Z6JJR YBKdkawpfq7LWN4D6eTNkhmTUkkzvUK+hKPlXyCScv8Sj45gp6DfeGOWXT3vst9X27/Q B3oA== 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=lY3qh/y6H2uPpcsadtL27CmpydoR1RntDCew5HITJgk=; b=aMxpNHE1Mk9V2UfyyTKHhzOlL0EE8NuxbWDsilYRj7fvNzt7xQA1M1CKoonVoOwGtv koJXFOG4zivlgIrQruyolwhOl0NK9s+rN6NmQ+v38vvsq+Q8KgwgZs8XiZbq5oJ8r/Uh bRLxDYsT2FHybuUfvLKQU2kFPCZWd07NFcNgbWGO3YK1eEMomBZa5za+b9KSsJM/5yfN 9Y4Zdyb8TYiAgO4sZmCMWX4fQENJAvVWMt7k+Vs/BuqdwR2nX2AqOWFbWZEA6V57JybU T6JH4J5s9mvr+6L/raYC+LKTwYbCE9U0BYtDTFfDdQ8DeYC10bWwi+8VP+arIUOUdCpK lk6g== X-Gm-Message-State: AGRZ1gKf6Z2FOmmxpur/aaz+f/J9i9GVR4++GEnDkshahugD2PKPH89S rH0Mnthq4q7zF+c1MmrarWZ+kfVJ0JiOqO8iW4Y= X-Received: by 2002:ab0:70b4:: with SMTP id q20mr1724892ual.24.1540914610888; Tue, 30 Oct 2018 08:50:10 -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> <20181030135242.doccralyqaqzshyx@sirius.home.kraxel.org> In-Reply-To: <20181030135242.doccralyqaqzshyx@sirius.home.kraxel.org> From: Emil Velikov Date: Tue, 30 Oct 2018 15:48:54 +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 On Tue, 30 Oct 2018 at 13:52, Gerd Hoffmann wrote: > > 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. > Nice, thanks for confirming. > Series doesn't apply to drm-misc-next and needs a rebase. > Might be nicer to address that alongside any feedback. Otherwise it'll be spamming people just for the sake of rebasing. If i find some time I'll post some comments later on today. HTH Emil