From patchwork Mon Sep 5 18:37:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Nilawar, Badal" X-Patchwork-Id: 12966411 Return-Path: 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 D8A43ECAAD5 for ; Mon, 5 Sep 2022 18:35:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B45B710E4A3; Mon, 5 Sep 2022 18:35:45 +0000 (UTC) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id B29EC10E4A3 for ; Mon, 5 Sep 2022 18:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662402940; x=1693938940; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=w0ikqk0i/MNFC3K092hJNKEgxuks/7MQq3HdpWOOAFw=; b=M3WvDnMTfU9IrXdJE/tSlb1R1sjFKOT70lTKNoyp76tYmnTS37qGj2sl qmPaoP2RkzHV1U7p57dlLb05nQItjEJTzihEkDxjx0FQ/T+jiG1k98jKV ag5wHM9bgDU5NCMmhj2j4e/Mg1crIrRgN34G418FK3UjOhyRaNiZkmZN9 E84+re/5cMovf8TOlsir40synGGN5A2eLG4FLya7wz5fn4BUx6GEqr715 GkRmBvdp80HlqnHDNp2zN7AJxXpeNVAL9S/TtHOHCs1PktVM36j7AI08y uyV5aKLvhvTzKSmMYGrmcY1EZFe8kWO9V3+EGNJSqo3ZASJzDfS+nrLBw Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10461"; a="294024587" X-IronPort-AV: E=Sophos;i="5.93,291,1654585200"; d="scan'208";a="294024587" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 11:35:40 -0700 X-IronPort-AV: E=Sophos;i="5.93,291,1654585200"; d="scan'208";a="675375664" Received: from bnilawar-desk1.iind.intel.com ([10.145.169.158]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 11:35:38 -0700 From: Badal Nilawar To: intel-gfx@lists.freedesktop.org Date: Tue, 6 Sep 2022 00:07:56 +0530 Message-Id: <20220905183801.2126693-1-badal.nilawar@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/5] i915: CAGF and RC6 changes for MTL 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" This series includes the code changes to get CAGF, RC State and C6 Residency of MTL. The series depends on: https://patchwork.freedesktop.org/series/107908/ We have included 3 patches from from the above series as part of this series in order for this series to compile. These are the first 3 patches authored by Matt Roper. Please do not review these first 3 patches. Only patch 4 and 5 needs review. Cc: Ashutosh Dixit Badal Nilawar (2): drm/i915/mtl: Modify CAGF functions for MTL drm/i915/mtl: Add C6 residency support for MTL SAMedia Matt Roper (3): drm/i915: Prepare more multi-GT initialization drm/i915: Rename and expose common GT early init routine drm/i915/xelpmp: Expose media as another GT drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 70 +++++++++++++++---- drivers/gpu/drm/i915/gt/intel_gt.h | 2 +- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 56 +++++++++++++++ drivers/gpu/drm/i915/gt/intel_gt_regs.h | 26 +++++++ drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 9 ++- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/gt/intel_rc6.c | 5 +- drivers/gpu/drm/i915/gt/intel_rps.c | 5 ++ drivers/gpu/drm/i915/gt/intel_sa_media.c | 39 +++++++++++ drivers/gpu/drm/i915/gt/intel_sa_media.h | 15 ++++ drivers/gpu/drm/i915/gt/selftest_rc6.c | 9 ++- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_pci.c | 15 ++++ drivers/gpu/drm/i915/i915_pmu.c | 8 ++- drivers/gpu/drm/i915/intel_device_info.h | 19 +++++ drivers/gpu/drm/i915/intel_uncore.c | 16 ++++- drivers/gpu/drm/i915/intel_uncore.h | 20 +++++- .../gpu/drm/i915/selftests/mock_gem_device.c | 1 + 20 files changed, 301 insertions(+), 22 deletions(-) create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.c create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.h