Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2234645ima; Thu, 25 Oct 2018 11:39:33 -0700 (PDT) X-Google-Smtp-Source: AJdET5ceFBokepjFyIj3hoUPJDVj0L5FrrYdyJmiXzTVuV4mTTLCGhZJWWWHtLTZpwx+83Sxx6rq X-Received: by 2002:a17:902:ba8d:: with SMTP id k13-v6mr344361pls.12.1540492773929; Thu, 25 Oct 2018 11:39:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540492773; cv=none; d=google.com; s=arc-20160816; b=AFFDINGx65mRylnOL20wBy3AxC6N/dESilGxJcP32RMaHRS0AU4G4S7HyZvepNoiBn EG0vuTTwrKpcuQbfIOTNMVtMnUoWDreA5P+BNxNGle9UX8VZCOTEFFlcxML31w0wbVeB omwdO2F/S5rG+RSwRR6UOmYjd5LY4mpAL1nupwAyf7+XcpF32GnaZIoOSWLWefmlLYix AwKGxh1tlpLblBB9LHr9ytaMjGK3FTnlT7alM56RwJeTl8B12wAXN8r3jc22Uuxucwg7 gRblfh57tO2kgkz2LihQEG7SyaKMeBM4KtYMIY24r0ZY6XqiWoUgBgzYO4QXLCdIVniw 802w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Q6q9rkNroIrf3TGOwK+wi6dJMG5b7c+EHed4BwpNTaE=; b=omVDE+nXoakJ5yXsSiAZ1VcW47m/0HiEVzw2ubnQt46fS1JBOOnLkjC1ZE/IVWaZZe vxvnaffAULdValJEnV2xh0AJ+d+sjw4n8MMuu+TV2NIkec6o9DVIjuynpBRMc7VPXxQ8 agCgV+N3YFpEgpYKuGxh1Zy4ituCsCT1OVydEUrQFD6tl0RZbElVLUP7CDPU5Ezm+/NK CTspaRAIQcG0IDdAAp9VEQcgrqwq7Q8BaHzoTgLJY5MqPBnh/7FSU2ieKTWpsfyiY+AV rsepiUhOMfmKEKN6t5HzOLiq4Mg3PLa+ab5UtopUnfFU+auXSZr3QbneFcbVh50GIeyB ARrQ== 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n15-v6si8699233pgi.537.2018.10.25.11.39.17; Thu, 25 Oct 2018 11:39:33 -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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727521AbeJZDLj (ORCPT + 99 others); Thu, 25 Oct 2018 23:11:39 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:43582 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727333AbeJZDLj (ORCPT ); Thu, 25 Oct 2018 23:11:39 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: robertfoss) with ESMTPSA id A65E4260739 From: Robert Foss To: airlied@linux.ie, kraxel@redhat.com, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Rob Herring , Gustavo Padovan , Emil Velikov Cc: Robert Foss Subject: [PATCH 0/5] virgl: fence fd support Date: Thu, 25 Oct 2018 20:37:34 +0200 Message-Id: <20181025183739.9375-1-robert.foss@collabora.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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 Changes since v2: - drm/virtio: add virtio_gpu_alloc_fence() - Forward port and fix compilation issues - drm/virtio: add uapi for in and out explicit fences - Check exbuf->flags for unsupported flags Gustavo Padovan (4): drm/virtio: add virtio_gpu_alloc_fence() drm/virtio: add in-fences support for explicit synchronization drm/virtio: add out-fences support for explicit synchronization drm/virtio: bump driver version after explicit synchronization addition Robert Foss (1): drm/virtio: add uapi for in and out explicit fences drivers/gpu/drm/virtio/virtgpu_drv.h | 22 +++-- drivers/gpu/drm/virtio/virtgpu_fence.c | 41 ++++++--- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 118 +++++++++++++++++++++---- drivers/gpu/drm/virtio/virtgpu_plane.c | 46 ++++++++-- drivers/gpu/drm/virtio/virtgpu_vq.c | 16 ++-- include/uapi/drm/virtgpu_drm.h | 13 ++- 6 files changed, 201 insertions(+), 55 deletions(-) -- 2.17.1