From patchwork Mon Oct 15 15:59:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lionel Landwerlin X-Patchwork-Id: 10642091 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 F217C925 for ; Mon, 15 Oct 2018 16:00:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFEFD29C00 for ; Mon, 15 Oct 2018 16:00:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D373729C6E; Mon, 15 Oct 2018 16:00:16 +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 8FF4929C00 for ; Mon, 15 Oct 2018 16:00:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 84A1C89C0A; Mon, 15 Oct 2018 16:00:15 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E27C89C3B for ; Mon, 15 Oct 2018 16:00:14 +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 fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2018 09:00:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,385,1534834800"; d="scan'208";a="271486943" Received: from delly.ld.intel.com ([10.103.238.204]) by fmsmga005.fm.intel.com with ESMTP; 15 Oct 2018 09:00:13 -0700 From: Lionel Landwerlin To: intel-gfx@lists.freedesktop.org Date: Mon, 15 Oct 2018 16:59:55 +0100 Message-Id: <20181015155959.28038-1-lionel.g.landwerlin@intel.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v3 0/4] drm/i915/perf: Add OA buffer size uAPI parameter 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, Chris recommended we stick on what the HW can do with regard to the buffer size parameter. This is reflected in the update of patch 4. Added patch 1 which was requested for newer test config files by Lucas. I figured we could update the existing files too. Cheers, Lionel Landwerlin (4): drm/i915/perf: update generated files headers drm/i915/perf: remove redundant oa buffer initialization drm/i915/perf: pass stream to vfuncs when possible drm/i915/perf: add a parameter to control the size of OA buffer drivers/gpu/drm/i915/i915_drv.h | 25 +---- drivers/gpu/drm/i915/i915_oa_bdw.c | 27 +---- drivers/gpu/drm/i915/i915_oa_bdw.h | 27 +---- drivers/gpu/drm/i915/i915_oa_bxt.c | 27 +---- drivers/gpu/drm/i915/i915_oa_bxt.h | 27 +---- drivers/gpu/drm/i915/i915_oa_cflgt2.c | 27 +---- drivers/gpu/drm/i915/i915_oa_cflgt2.h | 27 +---- drivers/gpu/drm/i915/i915_oa_cflgt3.c | 27 +---- drivers/gpu/drm/i915/i915_oa_cflgt3.h | 27 +---- drivers/gpu/drm/i915/i915_oa_chv.c | 27 +---- drivers/gpu/drm/i915/i915_oa_chv.h | 27 +---- drivers/gpu/drm/i915/i915_oa_cnl.c | 27 +---- drivers/gpu/drm/i915/i915_oa_cnl.h | 27 +---- drivers/gpu/drm/i915/i915_oa_glk.c | 27 +---- drivers/gpu/drm/i915/i915_oa_glk.h | 27 +---- drivers/gpu/drm/i915/i915_oa_hsw.c | 27 +---- drivers/gpu/drm/i915/i915_oa_hsw.h | 27 +---- drivers/gpu/drm/i915/i915_oa_icl.c | 27 +---- drivers/gpu/drm/i915/i915_oa_icl.h | 27 +---- drivers/gpu/drm/i915/i915_oa_kblgt2.c | 27 +---- drivers/gpu/drm/i915/i915_oa_kblgt2.h | 27 +---- drivers/gpu/drm/i915/i915_oa_kblgt3.c | 27 +---- drivers/gpu/drm/i915/i915_oa_kblgt3.h | 27 +---- drivers/gpu/drm/i915/i915_oa_sklgt2.c | 27 +---- drivers/gpu/drm/i915/i915_oa_sklgt2.h | 27 +---- drivers/gpu/drm/i915/i915_oa_sklgt3.c | 27 +---- drivers/gpu/drm/i915/i915_oa_sklgt3.h | 27 +---- drivers/gpu/drm/i915/i915_oa_sklgt4.c | 27 +---- drivers/gpu/drm/i915/i915_oa_sklgt4.h | 27 +---- drivers/gpu/drm/i915/i915_perf.c | 141 ++++++++++++++++---------- drivers/gpu/drm/i915/i915_reg.h | 2 + include/uapi/drm/i915_drm.h | 7 ++ 32 files changed, 215 insertions(+), 716 deletions(-) --- 2.19.1