From patchwork Mon Dec 16 20:44:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 13910550 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 67565E7717F for ; Mon, 16 Dec 2024 20:44:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0288C10E7AE; Mon, 16 Dec 2024 20:44:28 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="lukLGuLw"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by gabe.freedesktop.org (Postfix) with ESMTPS id 299C610E7AE for ; Mon, 16 Dec 2024 20:44:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734381866; x=1765917866; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=kcvSFMZxjivw3lGSg7BFDBDcZ6dkz/TdgPmKmPjnhVQ=; b=lukLGuLwBUdGWEXmYMQyIN/ZkmR4rV+3Z19+QTh4woMyJPii/dEpiAB+ Cr3/NbSQQBcW+RplwZP+xNFF7AgW9Ycjj3SoyuxTyY/1um49hXYfOiuo7 6E3Yf2alKtfvYuguzB7bQTjeRR7pjISifNWEbre9yMjvjJqm7ifPozl1A udnYEOSfm/CmSpmUICcNwR8AvT47sIDwL/MzwR/1VuhZgkdexeoGF7M6z MRTZ0I6AKit73B4pGwJWZWPXHPHQdmA7JeKgQKkrhLFKXqTVtGJPrdgif Nu32+VrWGsXWgXY34U2dE8MIqO96jYKIAyTZ+MWrplrg1YZW054+qaU+t g==; X-CSE-ConnectionGUID: TOxGal1SRr6KH51bwlfaag== X-CSE-MsgGUID: DlSMtm3WQFKxm8nFYjB9DQ== X-IronPort-AV: E=McAfee;i="6700,10204,11288"; a="22375568" X-IronPort-AV: E=Sophos;i="6.12,239,1728975600"; d="scan'208";a="22375568" 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:26 -0800 X-CSE-ConnectionGUID: pDzyJotcTCuvQzqRj2aUCQ== X-CSE-MsgGUID: 6FpWv8hqR1SBqDN3r0v32Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,239,1728975600"; d="scan'208";a="102342733" 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:26 -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:25 -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:25 -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:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EKbQhT+JnRJHaH+RtENZfz7/IuVqNvaePAcQl5b4qrfgZ8B8oSEsxRvuww7XHTn+0aN8RlEfvXl9ahPU6tgYBHJPlsyNlFj547i2BTh3tf6k/Hnm7faJ6n3w3zMFgGBwqAT4bS/q1FSHwOsjWv+hFV2/PdF/xHtsdmQR/iGXUnewCeZsuBPmxSarPjYevNmGjTy413gvTlGt+RrPudznmI/J9T2kgmIPaWZuclAz2wvAhRgRbthXe9KuS0sM/4w8J7bojt3e1WR0XVOghz6bMqgjGwvPYChMtgfvqLdRhmXlolxAQpOoxsqOdX+fqZGcjRaCp2B3YpJ73XfAhbHySg== 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=+Er0v0mWI1xQvlaQ5TaMgP12ZYa4Gh1O/3RdE2i8ei4=; b=Df86kBWcgqhm0CXqFeH7iyoKYGMw6diDmF7UqsOLekeWc4qh7ZSfKI7jaWg+thlgSlAqCX/7/Tww+LNQwUmafM/bAiqnapBKi5cRDzop4MBfs+RDxRvGss6WQHrVEhpV1SN9dJLy3WupM4oYdjC4zPyXUluCcp+vJ3Az5gp4EvkK7BQwFnQjifg9pCTQctDJwjLIeTTQGroMGuO7jD8bk3QT5c/fxQpHpHqwBxy8x5QurTS8YMXxNcq8NX8xT6uGKiJkqGf2jMBBCOZmDu2mpe07OXlB5Po55Qs1VDzBbHnUlNFDAM3ZBGyqBi4HfotrjaAfynNX4DKPDLTHuNJ9/w== 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:21 +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:21 +0000 From: Rodrigo Vivi To: CC: Rodrigo Vivi , Vinay Belgaumkar Subject: [PATCH 1/2] drm/i915/guc/slpc: Enable GuC SLPC default strategies Date: Mon, 16 Dec 2024 15:44:03 -0500 Message-ID: <20241216204404.1621540-2-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> X-ClientProxiedBy: MW4P220CA0001.NAMP220.PROD.OUTLOOK.COM (2603:10b6:303:115::6) 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: 2588aecb-9f26-4238-9d1a-08dd1e126b28 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: 80TUlhxsHSWcceZIxfb0W9FYMkt8E+5vJkzDJn9Ut1uN7zmB5jwyO4KdVhCl365AT0s5J0l8CXMpvT87pS7eI84Ya2dB8Nkpm9KFzX5Nf8im0hi1R/JVj2tqbSgUU8dkmfspiOkaJtRBjEjWy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wl2IsdqDE+vpLtlHebp1zLk0G1UbOxNoTBlIqVstRMbLPc4qRH0bMHiJhTBSZeZO0xvt8vfV+RL+WPe50u2M9AHDKmuOJTBaduB7PDDaHlvDPd6BiP2yuMU2FCGCPm0z3DGp9ZeQJdbRDrYZ3Y4I9NWNUd5H4Mao0ujojEgkuj7RJ8oLcJxANO 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: 9YYCpNGzW2UkDwd4Uh2ImvGue7wrHjfM9Tvs0vV0fa7dIQxHVcW8KyhZWG8yMlQFnJzcCpvOpFjVTEDy5zHPC0NdQCMWOSkpBQVQc56qX9y30bi0yeOJb0IRVkpb3pDZwu2rUizI7GizizVpOCdlEzJe2F8db/3sdKfOx8Oo6OTdCb2J50nHdW9mGdlUvDj83Z3UaVntQuetWpLu1IoNXcWNRhFXdMOTaowd36juCUC+u5VTxzqwOqtgKC0GHMqOyxGCaUEl0Os5Qc06LCqwl5Bzs4Mg6FOiKYU4C/0EeRe3350Vm1CDbqLOArCkpxyhCtUiiZqg1Z1sKp5s828RBGDQmQhmdaiRG+vp+Mc/xrfGJuKBvFBpPkHEdkjnUtRKB+wlEQN1nafXk4PmcJgAjUc8i7kIN+WlLlgSyKZaG1q451kDhy+1mAA6IJELdjNKc8nMJufp2mLw/BwqJa3sV2w3CCN5I4Sl5ThxMvEsGKrU9uG9UQWwbkzk0ptYFPd4nPx3tp7JJMiWwxYWh4nt3SY0PUVkgOsLadO9u9N0ywLDBDTHQfShLxHn72TsBRXZdCJGEr05ZsKRimQO8/Ac0CqIpI5kNGI/f0Aq8/Z+kPdB4suqkLYQ9WYT/vvSkaRVfWzghxogxFdOyQ6znbXR4fRRub/RR+UQ3yrqRBIEKPBc06tFNYqE5DzWS1UK/9q3O4WD2+3xO+hq73JCbFTPl7gPzHY2zK1931/pi261bFEllHDVlmHZPPNvLmZcoZ1SO4apLugGzkjp3QxdRCsVvavIChk9PqyKEddCr90UKZvzSfSZr5XNE0qSvj/D0o9muUOO3PHzsL7McC8u2kgtIcvvZg/wwv7tDEd7x4Ux5BBg+ffJlt18C7BhlBuoqBVJCCvckHmPjgLmZXuydzZEwEyjF1gpW1T1cQjtGiO27bcXXP2dk0E8TwjyL/9No/P/J38aPAnrNii61VrPeImww/b3s5f/ny1Ko2UAehFzuQq7039QcTW3Uvj6AYPg5vCg5y06nvIvLo9Zp9qtmfhlJ1hGJTOQu3bWz1JjdMlh4uQEZzMqvXHxltRT/bq08xMb0Xt0WtkQU2Wp+F9XqV0Si4lUyTCrM0PoMmH9zh+3GCSHtPbLv1bwrr0vSk5FArarZhGYXkKwp8d+zpIzXRj2OSjCjREv5e/pnlCKV5QQEO8pq2Xlv8bFo6Zsqrjk6jisQ09L8hWrxweuH7VjMHJ30zVcypTpFVadMK05JdEvuSILUCg0upl1MZ7WBqh6NQIeY9d8BSWpEQb88uC4tqv8q4IDAWXwtzLXDk74qR6uNODrup7+C6F2jssKvxuEdgfNYLwTzo7QBGSk9GBGU5/mOWQgmNvipOt0oXrD8o+fW2wVxD3j8UtPE4mKYRukPucx53dXSdMGV++mQRFqbF3Hlrr6u80w6A0TVrHxS1vtdFSFebBTtMUOhqWMK3oq546i3dzwDi4hle/G4Kvv60FaNcqlPBEws1AMdCaKiLYGGerolTsMFJ2EgMTX7/LG5q76wYtjxRvGut0IE/aKwVEqQeA9jRoU0KHLU4dUCQJotS9YsaU4dMRcvFWfLKY+WDmRWqCKRZvjmXBZRF/MWPV66g== X-MS-Exchange-CrossTenant-Network-Message-Id: 2588aecb-9f26-4238-9d1a-08dd1e126b28 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:21.4952 (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: IT9oMT00IUMR+0PSylSrNY+8xBcVQcKeWrUhPZPdRA+FQh8DxHMnQ6yp04LP4Hfb5DLfMbFKzHin14SgCkn2nA== 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" The Balancer and DCC strategies were left off on a fear that these strategies would conflict with the i915's waitboost. However, these strategies are only active in certain conditions where the system is TDP limited. So, they don't conflict, but help the waitboost by guaranteeing a bit more of GT frequency. Without these strategies we were likely leaving some performance behind on some scenarious. Cc: Vinay Belgaumkar Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 17 ----------------- 1 file changed, 17 deletions(-) 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 706fffca698b..722da8a7f852 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c @@ -76,17 +76,6 @@ static void slpc_mem_set_enabled(struct slpc_shared_data *data, slpc_mem_set_param(data, disable_id, 0); } -static void slpc_mem_set_disabled(struct slpc_shared_data *data, - u8 enable_id, u8 disable_id) -{ - /* - * Disabling a param involves setting the enable_id - * to 0 and disable_id to 1. - */ - slpc_mem_set_param(data, disable_id, 1); - slpc_mem_set_param(data, enable_id, 0); -} - static u32 slpc_get_state(struct intel_guc_slpc *slpc) { struct slpc_shared_data *data; @@ -366,12 +355,6 @@ static void slpc_shared_data_reset(struct slpc_shared_data *data) /* Enable only GTPERF task, disable others */ slpc_mem_set_enabled(data, SLPC_PARAM_TASK_ENABLE_GTPERF, SLPC_PARAM_TASK_DISABLE_GTPERF); - - slpc_mem_set_disabled(data, SLPC_PARAM_TASK_ENABLE_BALANCER, - SLPC_PARAM_TASK_DISABLE_BALANCER); - - slpc_mem_set_disabled(data, SLPC_PARAM_TASK_ENABLE_DCC, - SLPC_PARAM_TASK_DISABLE_DCC); } /** From patchwork Mon Dec 16 20:44:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 13910551 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 1ECE3E77183 for ; 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 ; 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 To: CC: Rodrigo Vivi , Vinay Belgaumkar 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> 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/N5WNUhKJSkBrFOkrPmCg4JJPTzjJj5LxkN8O7nKaksCRisq+HcDPnHO1ZT56L9zys1lMXzEPTHKJw2aXaZTk4tMazWO70PNtE7K73gbhGk7cQJ0VIc9Uf0hukoz/Lv3t1R0uQY3znSMJIzZrp0fg/XhmmJghcknB6GwRrOlxG2qf6W6qoPbWGvGgIGoFrw7Lsh/7syNF8LVV5qfD2CJN8XXFdeXwIt0lPiKsIwa98w9Y8PbkicQOzIUFWQxKvvHKk5U8sI9cG6UzSMdo4XV03CtEhYgwG4RzaxiZGD390CWD7QVDBs/kOGDus8dw/6O+vEiz76ECqMGPE9BShLjF3n48audq7+6pZXRhc0vRi8MJTaWouAWFfFavDbzEjO4i898jYZ6zYSGg9VvwUrRr8ka72URmufy963XmdAafkayc+gPB4uwU3v9bMVJ+m8szZsOZjJjWL1/Vu00y0PleQy2SoECCLOerh2BCSb3DLQa/Q4ybIuzByPOXZFs169CU9YAbgxVigaORnUb5qDfPPnh8pFcS9lFKwgsnZ/5JvQ+8Jvh5OBaDAaToo7vT3TInl9zTDCSLPbWJyZPl1n0QloGUTRhx6aB2Eb66zg4hmyzda0116/S6HVKBK+7ZsMz2IghgYPpZ8z+d1cH004HhwhWcqYKp3Z6cT/vnDrJfSAJ4d0K45wc5LajP6THv4nu/XnNzs55ngWjzVGpkXx9gcEsBt/iZSCPfrN7eToPuo8rAbL4JiXB5CfZ/ClWQ0cG7vaN1/j2edAzEptBkpysrSvHg61LpJ1YugY9MQAKWkU/GZsXOm2e6j6Jk+lSf/bSq8ioks555X9wBIdQvX8STG9HBxxc5mmUjbCD5jwy10K5JvdPkxEg7XA9oTFCMNE6HrYVqh1aSWHnl0DEtvS7O5QAg+Ve1BwFngHG/JMfhtcm+wnLSPy6fxufHqcG9Q/w0GzSffGvlwCISEYf9YdFltb6ktMJzskEasXsdF6NG0Ol8y2WGSDdX0p6Kp9xqlEL++Ra2TfqrnbL/jYFgfn2sruRcHgYOKt6TpHH0yABr1AEoEdPrA3iL+4oWNITzhcKFi0ZM0v9geRFXZ5FE0Y6PLbYVWMGpgiCgJxphmkHC16W/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/qE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SRV5fkYhrR5aA+Xl0OvHafpAFQsbAyvYhZT/eMSXTUHq3My8xA3WeZ+zWITstbv+8xcttF0HY07ZfF+T3H4CXOX/ZJaiReMx78vvOvtgVB3zw62SDK9dGZscmmH4pKo1bJ8h68qy4wwntXPpMPA7d0TNtMPKb7cp6lek3Ez9W3i3b90RjDwa26J+G2Dcu5OApImRlh3eGuqc/EvMlg== X-MS-Exchange-CrossTenant-Network-Message-Id: e9c77dae-6fcd-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Let's peak on the Balancer and DCC status, now that we are using the default strategies. Cc: Vinay Belgaumkar Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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",