From patchwork Wed Apr 29 09:02:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lionel Landwerlin X-Patchwork-Id: 11516437 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 87D3714DD for ; Wed, 29 Apr 2020 09:02:47 +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 7028920775 for ; Wed, 29 Apr 2020 09:02:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7028920775 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 E7ABB6EC48; Wed, 29 Apr 2020 09:02:46 +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 547AF6EC48 for ; Wed, 29 Apr 2020 09:02:46 +0000 (UTC) IronPort-SDR: FzARjEyZ0COCymBjXUv29KHrkNlpS43WiAsswVNHnXq77VdJ45j0k/wDHtJWsIwcEiKhkwPg1o LKcbtYCxQiAA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 02:02:45 -0700 IronPort-SDR: F9fghx6q1VyvT4hNVY8j9bXvANmVPY8UynelT2f/gSNvEF1ZeW1a2AUTnfcSVbF3wqHEftiZ2Y /sFVvXLHSxXg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,331,1583222400"; d="scan'208";a="246784812" Received: from unknown (HELO delly.ger.corp.intel.com) ([10.252.38.205]) by orsmga007.jf.intel.com with ESMTP; 29 Apr 2020 02:02:44 -0700 From: Lionel Landwerlin To: intel-gfx@lists.freedesktop.org Date: Wed, 29 Apr 2020 12:02:38 +0300 Message-Id: <20200429090242.978170-1-lionel.g.landwerlin@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v9 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, Just a small change on the key passed to bsearch(). 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 | 930 ++++++++++++++++--------- drivers/gpu/drm/i915/i915_perf_types.h | 47 +- include/uapi/drm/i915_drm.h | 21 + 3 files changed, 661 insertions(+), 337 deletions(-) --- 2.26.2