Message ID | 20220823204155.8178-1-umesh.nerlige.ramappa@intel.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id BFC79C32772 for <intel-gfx@archiver.kernel.org>; Tue, 23 Aug 2022 20:42:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 98D8810E653; Tue, 23 Aug 2022 20:42:04 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9830910E653 for <intel-gfx@lists.freedesktop.org>; Tue, 23 Aug 2022 20:41:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661287318; x=1692823318; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=U1w3tC7EfDt2i70EWwVQ0cX57piQC6OmbEEo50LHp34=; b=duzn3alRbKK2p2VItJUVthD3RIH8KmoC3CMvGgU3henPgAilASZHxm1c OgZF/nH9zcaL0EFMeSQn0R3KoOq1WJ/PLWR9+NaTbR0eMP/db0rJZO7V7 OAZkQB8ubECt+NYDb36wkbgWjwz9arU8AzdWToHnn7T6ShL+jkrP5sZ7C U6nF93UJdNELBV4gDLGhSBvv7lokmcysKEkBZ3yP2/tkV0DYSOvwzJ05W a+4wpQbPZJ6GskgkRg6gn61cdEKoBRDWoYRi/zzzc5OrXGzY6wEW+ZXpT 62TE+gM5aLobqo6C/ygGmJmyUGLpFbSJqxh3SUzLdGdrhuC/kG9ucLRKF w==; X-IronPort-AV: E=McAfee;i="6500,9779,10448"; a="319843583" X-IronPort-AV: E=Sophos;i="5.93,258,1654585200"; d="scan'208";a="319843583" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 13:41:58 -0700 X-IronPort-AV: E=Sophos;i="5.93,258,1654585200"; d="scan'208";a="638815607" Received: from dut042-dg2frd.fm.intel.com ([10.105.19.4]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 13:41:56 -0700 From: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> To: intel-gfx@lists.freedesktop.org Date: Tue, 23 Aug 2022 20:41:36 +0000 Message-Id: <20220823204155.8178-1-umesh.nerlige.ramappa@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-gfx] [PATCH 00/19] Add DG2 OA support X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> |
Series |
Add DG2 OA support
|
expand
|
Add OA format support for DG2 and various fixes for DG2. The below 2 patches have uapi changes: drm/i915/perf: Add OA formats for DG2 drm/i915/perf: Apply Wa_18013179988 v2: - Drop inline (Jani) - Repost as some patches did not make it to the ML - Update Test-with id Test-with: 20220823183036.5270-1-umesh.nerlige.ramappa@intel.com Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Umesh Nerlige Ramappa (18): drm/i915/perf: Fix OA filtering logic for GuC mode drm/i915/perf: Add OA formats for DG2 drm/i915/perf: Fix noa wait predication for DG2 drm/i915/perf: Determine gen12 oa ctx offset at runtime drm/i915/perf: Enable commands per clock reporting in OA drm/i915/perf: Use helpers to process reports w.r.t. OA buffer size drm/i915/perf: Simply use stream->ctx drm/i915/perf: Move gt-specific data from i915->perf to gt->perf drm/i915/perf: Replace gt->perf.lock with stream->lock for file ops drm/i915/perf: Use gt-specific ggtt for OA and noa-wait buffers drm/i915/perf: Store a pointer to oa_format in oa_buffer drm/i915/perf: Parse 64bit report header formats correctly drm/i915/perf: Add Wa_16010703925:dg2 drm/i915/perf: Add Wa_1608133521:dg2 drm/i915/perf: Add Wa_1508761755:dg2 drm/i915/perf: Apply Wa_18013179988 drm/i915/perf: Save/restore EU flex counters across reset drm/i915/perf: Enable OA for DG2 Vinay Belgaumkar (1): drm/i915/guc: Support OA when Wa_16011777198 is enabled drivers/gpu/drm/i915/gt/intel_engine_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/gt/intel_lrc.h | 2 + drivers/gpu/drm/i915/gt/intel_sseu.c | 4 +- .../drm/i915/gt/uc/abi/guc_actions_slpc_abi.h | 9 + drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 8 + drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 45 ++ drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.h | 2 + drivers/gpu/drm/i915/i915_drv.h | 3 + drivers/gpu/drm/i915/i915_getparam.c | 3 + drivers/gpu/drm/i915/i915_pci.c | 1 + drivers/gpu/drm/i915/i915_perf.c | 760 ++++++++++++++---- drivers/gpu/drm/i915/i915_perf.h | 2 + drivers/gpu/drm/i915/i915_perf_oa_regs.h | 6 +- drivers/gpu/drm/i915/i915_perf_types.h | 53 +- drivers/gpu/drm/i915/intel_device_info.h | 1 + drivers/gpu/drm/i915/selftests/i915_perf.c | 16 +- include/uapi/drm/i915_drm.h | 12 + 19 files changed, 737 insertions(+), 195 deletions(-)