Message ID | 20241216204404.1621540-3-rodrigo.vivi@intel.com (mailing list archive) |
---|---|
State | New |
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 1ECE3E77183 for <intel-gfx@archiver.kernel.org>; Mon, 16 Dec 2024 20:44:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AE46E10E7A7; Mon, 16 Dec 2024 20:44:30 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="ZNVuXQKD"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by gabe.freedesktop.org (Postfix) with ESMTPS id 844C410E7AE for <intel-gfx@lists.freedesktop.org>; Mon, 16 Dec 2024 20:44:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734381867; x=1765917867; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=b09866cj8eBHMcESAmvWvO9LQiDo3S/tbx3XiC/6VEA=; b=ZNVuXQKDcuxG4zGnC9YuiPdgLnCQ19XS86c0jHJ+GVDBe4HUFFoKoWAU SFf1hRdNu+d/KJN/neNGryqmsGR8rOSDiUn3bnduwKrnjMjQ3Wz15Zw6g B/aAOWmh/irTRujmoZ3VfHDQjM8eCn7nTraNvwszkAIkNnTST5mO4bYSI TQqwekMBK8BLpUOE88vyRQHbd9ntHno5iNHB73HM2x7Yf2AHlQe/qepGA gJQNggEpAM/sm+ztzo0KF2kaLryEbZUsQ9Fk1pXMVaZgdwQLgaPTPEkeO 3jf3a2/cH8xXE6r9Su3+LIIOpo0yVmDqlAXcvtupWRKe5l5084naM1EIG w==; X-CSE-ConnectionGUID: UrW7VD9nQPuu/j1VUAeJEA== X-CSE-MsgGUID: 8xPlZ3+WRGa/3axKl5z5Ig== X-IronPort-AV: E=McAfee;i="6700,10204,11288"; a="22375572" X-IronPort-AV: E=Sophos;i="6.12,239,1728975600"; d="scan'208";a="22375572" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Dec 2024 12:44:27 -0800 X-CSE-ConnectionGUID: RAMOFSpKQm23T+fREmrf5Q== X-CSE-MsgGUID: neQnDwivQxOUmaaXfNew2w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,239,1728975600"; d="scan'208";a="102342740" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa004.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 16 Dec 2024 12:44:27 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Mon, 16 Dec 2024 12:44:27 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Mon, 16 Dec 2024 12:44:27 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.46) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.44; Mon, 16 Dec 2024 12:44:25 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LcCiez10oazU2WuLtBiMAIFDRhcAbqsIt9PClLnFJGo3A5ZQcFhGYKLj+dBF3qnQFEXp2Om5a8V3tGL/NuvAkGapstL5W8iSQ1ZvP2ajQA6rcPtA+w4+HY99JC5VJWy+ukJSvBWH+KajXyCHg4TPFaO4TUE7nnvS/aoQlTAFcC3s0PqD9aIK5DTd0z5tmRzyomUEUdlz4MlVRoCFijs5TtBXkr6V7sivryekS+42QKrpeU3CcJOJPZO95I2Wuj40MiXC7yrMbXb5ArnAJRlLeJSuB6crS8TQJra4XQ0mvREJEoi3znku9Y5h3fl0Au1fJlSnbUmd1FqKAM+nyLPlWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=t/6xR+XxhJdBeITAoqzqU4GvMggKlVCIQzXd+yzOPRo=; b=dA4igHD2wRI/RD22ZWlWTgLB2+fU0X1wiKA88dNjytUyJROGWINAapX9+nuU/XBx9X3OgIQYs7lko6F2aAz/E5srgvJf6MD7UyrIgn57J/ceFCOMeeJILA4LSJBqaad/ouk1GCo1t2YERwkSkAvilU0kCIS5qh30LRl3J9DPBGtK8XyIqGyYmxdlnY304uY2QCSk6hZT/DMyE4o7tW2Ri/uAM6Z5jUlhQUujJQ2041G2uyoBEdpP2p12bWivhLYMEGEUe9HIzsn31RxgQw9NeIoy8Dk2iuhacGHsq0nadQQtNFyqH35b5jGCnpY6S0DrIAR5DLl4wxNC4RwkxYMG1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH7SPRMB0046.namprd11.prod.outlook.com (2603:10b6:510:1f6::20) by SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.20; Mon, 16 Dec 2024 20:44:24 +0000 Received: from PH7SPRMB0046.namprd11.prod.outlook.com ([fe80::5088:3f5b:9a15:61dc]) by PH7SPRMB0046.namprd11.prod.outlook.com ([fe80::5088:3f5b:9a15:61dc%4]) with mapi id 15.20.8251.015; Mon, 16 Dec 2024 20:44:24 +0000 From: Rodrigo Vivi <rodrigo.vivi@intel.com> To: <intel-gfx@lists.freedesktop.org> CC: Rodrigo Vivi <rodrigo.vivi@intel.com>, Vinay Belgaumkar <vinay.belgaumkar@intel.com> Subject: [PATCH 2/2] drm/i915/guc/slpc: Print more SLPC debug status information Date: Mon, 16 Dec 2024 15:44:04 -0500 Message-ID: <20241216204404.1621540-3-rodrigo.vivi@intel.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241216204404.1621540-1-rodrigo.vivi@intel.com> References: <20241216204404.1621540-1-rodrigo.vivi@intel.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW4P220CA0006.NAMP220.PROD.OUTLOOK.COM (2603:10b6:303:115::11) To PH7SPRMB0046.namprd11.prod.outlook.com (2603:10b6:510:1f6::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7SPRMB0046:EE_|SJ2PR11MB7573:EE_ X-MS-Office365-Filtering-Correlation-Id: e9c77dae-6fcd-4b0b-ffad-08dd1e126ca8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: /YHpeZJidrPT/N5WNUhKJSkBrFOkrPmCg4JJPTzjJj5LxkN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bYVWMGpgiCgJxphmkHC16W/a0Xrsd3Ak+chS0DSJEL2JTQ6pS4NxgJpfVVN30lD59702uPKNV0w+vk9zSw3uJnmI1NxWNGj+l74qLVP1hTBozKnjuqdcaNgS3L7Ee5yi0YkSKJ3ixuFWojQnaleHUBw3jUYNs3pPcWG8t3P7UK8hVmnfyhF0OGQ12Wc9AAOp1hV5UZLC1MdfWYOCyPniQcLhqPA006dt/VSulLHCUjHbZQV3rYxWllOuHkDirgcxy6ULPrPa2tQJ6R9ufHPcg36p0YBF8D X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7SPRMB0046.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Z1lgxndmo36kqt0LLy9I/cgslIkao4k20ansL1I+6O7FGBcsGq+03OKraBQlyTtNmVDQkWQd3SyyAbOOnE5iYRoDEmXqh5dUMZXaFrfyEEJDBJkB3inAVvt8ASMom7k9DhgW6WNFpdSbb8nOhAxurBIg10kEuq2aKL7/lTPPtn7xH1/pWNwfzO8elR+XLx2G/J9nReLohCykPUMCa/zlnhKiKXHXq4W1RXICBjsPNvHWXYbQ/s/+NK7KVzNTDM6WC3uca72D+AGh7e/BUNsDB+k6WRvWU1XyqrnrubgcPyG60jN37P7byYGCmPdam0DztK8d5h+Ky/qEllSUd/YUDotl1LspB+E0zXi57Q6ckEWRrebwuoa8rV392ChW7IieNrSMgXQnIYJYKL8Jr2EJ1Xt5YvaarinFuigNRlU0dfOfZeMycEz0pxp7j5RfyNuYHhxM5r4HxylJe1yP1SajBoXI1zCqavnnkiiu5r1XgnEHqUasGJwHpaUD7sulf3sopjrkU76uc6K9qFrenHhGNC1mmvLiN1tIlq8j3h6ay1R1CDqxI3IXc7cGdOjHpTc8KURCcRIh6Ii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-4b0b-ffad-08dd1e126ca8 X-MS-Exchange-CrossTenant-AuthSource: PH7SPRMB0046.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2024 20:44:23.9991 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: UhSqvSYfevvk05OUJOHaK7nCI1QR1mMq7NltGmoZbBDPBB2Oqf10GuUFUFER8XZS2Zr0WNideu4mY/qMqEB4og== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR11MB7573 X-OriginatorOrg: intel.com 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 |
Enable GuC SLPC default balancing strategies
|
expand
|
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c index 722da8a7f852..8b23e3a9f14e 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c @@ -774,6 +774,23 @@ int intel_guc_slpc_print_info(struct intel_guc_slpc *slpc, struct drm_printer *p drm_printf(p, "\tSLPC state: %s\n", slpc_get_state_string(slpc)); drm_printf(p, "\tGTPERF task active: %s\n", str_yes_no(slpc_tasks->status & SLPC_GTPERF_TASK_ENABLED)); + drm_printf(p, "\tDCC enabled: %s\n", + str_yes_no(slpc_tasks->status & + SLPC_DCC_TASK_ENABLED)); + drm_printf(p, "\tDCC in: %s\n", + str_yes_no(slpc_tasks->status & SLPC_IN_DCC)); + drm_printf(p, "\tBalancer enabled: %s\n", + str_yes_no(slpc_tasks->status & + SLPC_BALANCER_ENABLED)); + drm_printf(p, "\tIBC enabled: %s\n", + str_yes_no(slpc_tasks->status & + SLPC_IBC_TASK_ENABLED)); + drm_printf(p, "\tBalancer IA LMT enabled: %s\n", + str_yes_no(slpc_tasks->status & + SLPC_BALANCER_IA_LMT_ENABLED)); + drm_printf(p, "\tBalancer IA LMT active: %s\n", + str_yes_no(slpc_tasks->status & + SLPC_BALANCER_IA_LMT_ACTIVE)); drm_printf(p, "\tMax freq: %u MHz\n", slpc_decode_max_freq(slpc)); drm_printf(p, "\tMin freq: %u MHz\n",
Let's peak on the Balancer and DCC status, now that we are using the default strategies. Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> --- drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)