From patchwork Tue Apr 28 10:08:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lionel Landwerlin X-Patchwork-Id: 11514153 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 992BB81 for ; Tue, 28 Apr 2020 10:08:27 +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 81968206D7 for ; Tue, 28 Apr 2020 10:08:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 81968206D7 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 E8D416E25F; Tue, 28 Apr 2020 10:08:26 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 875466E1D8 for ; Tue, 28 Apr 2020 10:08:25 +0000 (UTC) IronPort-SDR: oMqloMVf0odZliN2wytbK2JVZqJpm4fXRB1vCS41ciP/Nbqe/KrzAg3t4k6SVngQaniKSWA3IH k6i/a7CjE1VQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2020 03:08:24 -0700 IronPort-SDR: layZ24OCsenDVsLcJGCAMKWhgVwLL8+1BHozSSCvTYOpzS9LHnBFJcDqS/vqJkSuE4qcIttjNL UKOTXaZJt98A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,327,1583222400"; d="scan'208";a="432128918" Received: from pbooyens-mobl1.ger.corp.intel.com (HELO delly.ger.corp.intel.com) ([10.252.37.143]) by orsmga005.jf.intel.com with ESMTP; 28 Apr 2020 03:08:23 -0700 From: Lionel Landwerlin To: intel-gfx@lists.freedesktop.org Date: Tue, 28 Apr 2020 13:08:12 +0300 Message-Id: <20200428100816.951014-1-lionel.g.landwerlin@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v7 0/4] drm/i915/perf: Add support for multi context perf queries X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: chris@chris-wilson.co.uk Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi all, This series is enabling multiple context filtering for performance queries. Our Iris driver uses 2 contexts to run 3D & compute commands with synchronization between the 2 contexts. Right now i915/perf only supports filtering/pinning a single context. The Mesa change making use of this feature is now reviewed at : https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4464 Cheers, Lionel Landwerlin (4): drm/i915/perf: break OA config buffer object in 2 drm/i915/perf: stop using the kernel context drm/i915/perf: prepare driver to receive multiple ctx handles drm/i915/perf: enable filtering on multiple contexts drivers/gpu/drm/i915/i915_perf.c | 905 ++++++++++++++++--------- drivers/gpu/drm/i915/i915_perf_types.h | 47 +- include/uapi/drm/i915_drm.h | 21 + 3 files changed, 636 insertions(+), 337 deletions(-) --- 2.26.2