From patchwork Wed Aug 28 14:33:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lionel Landwerlin X-Patchwork-Id: 11119269 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 29A831395 for ; Wed, 28 Aug 2019 14:33:49 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 123142080F for ; Wed, 28 Aug 2019 14:33:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 123142080F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F09489CD5; Wed, 28 Aug 2019 14:33:47 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8D46A89CBA for ; Wed, 28 Aug 2019 14:33:46 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2019 07:33:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,441,1559545200"; d="scan'208";a="380419380" Received: from cmartin2-mobl3.ger.corp.intel.com (HELO delly.ger.corp.intel.com) ([10.252.38.61]) by fmsmga005.fm.intel.com with ESMTP; 28 Aug 2019 07:33:30 -0700 From: Lionel Landwerlin To: intel-gfx@lists.freedesktop.org Date: Wed, 28 Aug 2019 17:33:17 +0300 Message-Id: <20190828143327.7965-1-lionel.g.landwerlin@intel.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v11 00/10] drm/i915: Vulkan performance query 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" Hi all, This is a rebase on top of some of the i915/perf refactoring that landed. It also changes a few things to allocate BOs onto the i915_perf_stream to make the landed refactoring. It also makes things a bit less contentious on global state :) As the previous iterations of this series, this also includes 3 patches (the first 3) from the timeline semaphore work. You can safely ignore them, they're getting reviewed on a different series. It's just unfortunate they interact because of uAPI changes. Cheers, Lionel Landwerlin (10): drm/syncobj: add sideband payload drm/i915: introduce a mechanism to extend execbuf2 drm/i915: add syncobj timeline support drm/i915/perf: introduce a versioning of the i915-perf uapi drm/i915/perf: allow for CS OA configs to be created lazily drm/i915/perf: implement active wait for noa configurations drm/i915: add a new perf configuration execbuf parameter drm/i915/perf: allow holding preemption on filtered ctx drm/i915/perf: execute OA configuration from command stream drm/i915: add support for perf configuration queries drivers/gpu/drm/drm_internal.h | 2 + drivers/gpu/drm/drm_ioctl.c | 3 + drivers/gpu/drm/drm_syncobj.c | 59 +- .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 487 +++++++++++-- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 4 + drivers/gpu/drm/i915/gt/intel_engine_types.h | 9 + drivers/gpu/drm/i915/gt/intel_gpu_commands.h | 25 + drivers/gpu/drm/i915/gt/intel_gt_types.h | 5 + drivers/gpu/drm/i915/gt/intel_lrc.c | 4 +- drivers/gpu/drm/i915/gt/intel_ringbuffer.c | 4 +- drivers/gpu/drm/i915/i915_debugfs.c | 31 + drivers/gpu/drm/i915/i915_drv.c | 3 +- drivers/gpu/drm/i915/i915_drv.h | 48 +- drivers/gpu/drm/i915/i915_getparam.c | 9 + drivers/gpu/drm/i915/i915_perf.c | 643 +++++++++++++++--- drivers/gpu/drm/i915/i915_perf.h | 23 + drivers/gpu/drm/i915/i915_query.c | 283 ++++++++ drivers/gpu/drm/i915/i915_reg.h | 4 +- include/drm/drm_syncobj.h | 9 + include/uapi/drm/drm.h | 17 + include/uapi/drm/i915_drm.h | 196 +++++- 21 files changed, 1710 insertions(+), 158 deletions(-) --- 2.23.0