From patchwork Fri Sep 13 23:06:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umesh Nerlige Ramappa X-Patchwork-Id: 11145491 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 17DFD14ED for ; Fri, 13 Sep 2019 23:06:23 +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 E80A1206A5 for ; Fri, 13 Sep 2019 23:06:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E80A1206A5 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 357236F49F; Fri, 13 Sep 2019 23:06:22 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6094D6F49F for ; Fri, 13 Sep 2019 23:06:21 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Sep 2019 16:06:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,489,1559545200"; d="scan'208";a="360924422" Received: from unerlige-desk.jf.intel.com ([10.165.21.198]) by orsmga005.jf.intel.com with ESMTP; 13 Sep 2019 16:06:20 -0700 From: Umesh Nerlige Ramappa To: Umesh Nerlige Ramappa , Lionel G Landwerlin , intel-gfx@lists.freedesktop.org Date: Fri, 13 Sep 2019 16:06:17 -0700 Message-Id: <20190913230620.15906-1-umesh.nerlige.ramappa@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/3] drm/i915/perf: Enable non-power-of-2 OA report sizes 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" Current driver supports only report sizes that are power of 2. Enable driver support for other available sizes as well so that the user has a flexible choice of report formats. This first patch simplifies the aging tail workaround in the driver before the other patches add support for other OA report sizes. Lionel Landwerlin (1): drm/i915/perf: rework aging tail workaround Umesh Nerlige Ramappa (2): drm/i915/perf: Add support for report sizes that are not power of 2 drm/i915/perf: Add the report format with a non-power-of-2 size drivers/gpu/drm/i915/i915_drv.h | 30 ++-- drivers/gpu/drm/i915/i915_perf.c | 253 +++++++++++++------------------ include/uapi/drm/i915_drm.h | 11 +- 3 files changed, 127 insertions(+), 167 deletions(-)