From patchwork Thu May 23 11:46:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lionel Landwerlin X-Patchwork-Id: 10957453 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 804DE924 for ; Thu, 23 May 2019 11:46:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D8EC2843C for ; Thu, 23 May 2019 11:46:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 519012844C; Thu, 23 May 2019 11:46:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 104BA2843C for ; Thu, 23 May 2019 11:46:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A79E89DFF; Thu, 23 May 2019 11:46:25 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 90E4289DFF for ; Thu, 23 May 2019 11:46:23 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 May 2019 04:46:23 -0700 X-ExtLoop1: 1 Received: from delly.ld.intel.com ([10.103.238.204]) by orsmga004.jf.intel.com with ESMTP; 23 May 2019 04:46:22 -0700 From: Lionel Landwerlin To: intel-gfx@lists.freedesktop.org Date: Thu, 23 May 2019 12:46:18 +0100 Message-Id: <20190523114620.19335-1-lionel.g.landwerlin@intel.com> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/2] drm/i915: timeline semaphore support X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Hi all, This series implement required changes to support Vulkan timeline semaphores. Mesa's Anv driver will make use of this, unfortunately we can't disclose the userspace changes yet. Hoping we can bend the rules a bit (like for the drm-syncobj changes landed already), so that we can be compliant on the first day the Vulkan spec is released. Cheers, Lionel Landwerlin (2): drm/syncobj: add an output syncobj parameter to find_fence drm/i915: add syncobj timeline support drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 +- drivers/gpu/drm/drm_syncobj.c | 45 +++-- drivers/gpu/drm/i915/i915_drv.c | 4 +- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 190 ++++++++++++++++----- drivers/gpu/drm/v3d/v3d_gem.c | 5 +- include/drm/drm_syncobj.h | 1 + include/uapi/drm/i915_drm.h | 38 ++++- 7 files changed, 220 insertions(+), 67 deletions(-) --- 2.21.0.392.gf8f6787159e