From patchwork Wed Jan 8 14:13:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 13930994 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 92058E77188 for ; Wed, 8 Jan 2025 14:13:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 372B210E8BD; Wed, 8 Jan 2025 14:13:44 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="AhMloiHL"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 139D410E8BD for ; Wed, 8 Jan 2025 14:13:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1736345623; x=1767881623; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=0/U56rxV0Tj2RaZYACm+g2DfUjzlIpa5hoS1UDyJrH8=; b=AhMloiHLjgByLX/hM3jDA0ZveG3DRBKkwl+OMurIomljApUsXyfnUht1 WRpMy8jORDDsE47N5+NusJ5Onxh4yqz1IAXPmYuMWKtm5pNCbxBo0u+mG RJmkXezSlZgCyNK70dWU1mHjsp5lfM14vmWKT+BlJgvM8Kg2pzb9XCd5J OvRzdk24mrusObopf0CxSRbTBDGXQRP3O3wBawWwrRI92MkvwmBQrcLib TAn6vFU7+7fUmXmhAeMKU2waygKVjLQ/SUFVpiY7vykQjRh0KifrXl0gS +gRc0dawsqbq1lahQuYuYdfO5XjwYFYJ95X5Od00leQujyrIZLkdpT3Is Q==; X-CSE-ConnectionGUID: 6xFwA1b1TMG6lf1+85MrOQ== X-CSE-MsgGUID: z7xND96KSiS3dkj+MPFRDA== X-IronPort-AV: E=McAfee;i="6700,10204,11309"; a="36456240" X-IronPort-AV: E=Sophos;i="6.12,298,1728975600"; d="scan'208";a="36456240" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2025 06:13:42 -0800 X-CSE-ConnectionGUID: k9jX1f0IQNm84rhPXqUVTQ== X-CSE-MsgGUID: KFBtuJKgRLqzweWFwI0L7w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="140447412" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Jan 2025 06:13:42 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 8 Jan 2025 06:13:42 -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; Wed, 8 Jan 2025 06:13:42 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) 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; Wed, 8 Jan 2025 06:13:42 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qL7PaninEg/U6EcX+dPXRqbuiRKGpWUSLGZSKZ5yBm8HNfFfOyBplxiXxWSOdhF7NwvHYYAZeCJWuWpluzvHx5Cr62C2nDRY0Bkp1lZdHQK9JZa6v3MbJ62Hq2IQWQElQkQ0HiuxkNXiMuhPRP3rxUN8Oeof7tYRFad2KVX6pPsNHBi3Om9fCmyOUt7TMsInFvwEcYKYZutn4ZcmRHlMMnrFpejhWxXwpBBVGQf9NWpYSGbwqVfxUnJHo/h7jeVK59vnrQgsdErbW3cAurL+B1nXPmrRfJ2gd7O1ICRMdNNufQxSsmvw1sQQsSc9CtVP8HTxptd+SGZVV8EqQTY4yw== 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=WjbY0vjIiQWnnjJ6/Zm1VuoN6taXCvnv6nIQjHWwQOk=; b=b7qPXPlIhr8vo/IoujDpLBDE26W98g27nlImk0SVETDtrC5E+yTtQUbVXMT4oW9Jo8aCxOCMiBUyldaBtQcE2zdDvsBkNjJQZHWWRIN2DQFj104WzEHQm2PFimFm0pOwnmGaiM8kU6KUKXyxb0mB1Pmxh6YuzX/z79Zezaagjs5BLAtbDbelY+LO0NLT6PjCLkXAfZvcxyyGV3iq/k9jshozGkPhBgcHjsTyAqTYYRyB/UyC5GTsZoY+xybkeJSh1EmSK9nhVqt+cOZz3Y563RF95FRk6nrnZg1xcw0my7oc+3PhH/1z0og9Rjf4isFx6jvTYkKy7twS7BLLF0kmJg== 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 CH3PR11MB8442.namprd11.prod.outlook.com (2603:10b6:610:1ae::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.18; Wed, 8 Jan 2025 14:13:25 +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.8314.015; Wed, 8 Jan 2025 14:13:25 +0000 From: Rodrigo Vivi To: CC: Rodrigo Vivi Subject: [PATCH 1/3] drm/i915: Increase the timeout of the spinners Date: Wed, 8 Jan 2025 09:13:15 -0500 Message-ID: <20250108141318.63823-2-rodrigo.vivi@intel.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250108141318.63823-1-rodrigo.vivi@intel.com> References: <20250108141318.63823-1-rodrigo.vivi@intel.com> X-ClientProxiedBy: MW4PR04CA0152.namprd04.prod.outlook.com (2603:10b6:303:85::7) To PH7SPRMB0046.namprd11.prod.outlook.com (2603:10b6:510:1f6::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7SPRMB0046:EE_|CH3PR11MB8442:EE_ X-MS-Office365-Filtering-Correlation-Id: 15041086-5ded-4d65-daca-08dd2fee9ce2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: 86eQ5dNFNWdNYLZsRdRZv+Vn+irCVQqasnAl6dNOhk4U99lEHZbgAhj+2PFaDTMVMKYmy1/lIgp1rJPbUDVzOIx71FkGg2xodzsk/EXDTCO1JH40aDGNVqDtXnudbcd1iFNmB3LXjq5UYAf3GoTx2o0CM6HT6F3TiPYV9xHHZgD1JaxNXHHVPwBvLgv790TYcK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BXJeb89iXQCRNWi91B79aBn+F0z/XjIKwXesDG+rgm7G1+yNiIZ1BuiaNXT2s943LbMwYI/rQaO2y2tLCpYdzH7ovi/yitLkFHhb7zo36ZWmYYeOgBTMzPIAKXWkwIcCttU 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)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MinHy2ADogKdpgiXZM1NxjH9G0m4pu0XxUKtHZvOe3UbDViwUuAscDmQGI35etrhSBG+KClgDNHW/NoGnd5stVUvnBgxo1oZF6Q1AfNWCBsA2kbCehyx0j5QnDZoMazyyrAAF5KZE/e10Vfdh2ADtCV+HnvbcDtN87YOqPsk1lYfXN9IB/MV7W02odRiv5Cmf4s4PKxcEnfWuQ9TOpZtNCz+z6vy7/AmRPhpgenl1tnNgd52q8Kqy+AJ+ll7M1kHkNGgZ/QwcaCz/CN02BNvjyJR1iYD7M+zTyRlMxO8qcLP+dbJHAS57mS5XgQF6KqivKoGZnTscNIrYi8xsUuKaD6VDJvqn+76kq3VZDW6wn4V4zV0lv4zAaP5eUf9iH3rFzP2U+8rh4HYDi1H+396rpgtaI8eW4lbrkIQySfCF6CtZxlP78PPcsPnN3FxcQiHkCsghEDjh81unZrUkPsTvEzoyICAc3EOc69xTUuMGAkxFodsUYd2pNGEFwWQIaoyJPaFLNeIzvdoz2wJ0xKT9CG/dUcPfIWtjOlqTk/yI6YfoEQWnBXHjk8Y4E8+eSmJrsDcZhIJbAMDn2OnQcgnoghzsCC7V7kebecUMOvCxrVcs+lx5bgSMZoVOjdEB0iMSw2L5jYNrDb3o2q+HY344esunfaU0l1ZGEMkmZw+Qm+F81l7lDfn1Hh0Csnc+eVmusCrGxKEJU6GXaIPej8flytJFqoq7fr6ECkGk4loY60YrG1AtQ7ZNoWiHw8YaI4oy+rEBmZKrwFcLm0VRBuNFFLhLeDdTHmcayu5mAbkv+JddlyfXQILAQC86r4au4XPyS20qy2JjW5NUUE/620WIQ8Zn8ducqlWNV30oz4qBV+ZRcY7JZq83o8x7dInpZv3hsFw5y+D5hOLRmlmIAcCc4VAF4cIMcUwMxdk0wg1zYPs2fRqgtmeoTgdj6uEiHizww6X10fzY9MJPqrkDIOj+ZcgefSJmKf3up96kCX5AMAVsFJ/OfFPE6wx9dJhdJrn3nvgrMPUiGY1dpATf3aZNzNKe2TMEGKV7Tj79RjJcRyuFm/mN4gO0pmVgUagTionDPP1yRJMoP6gwOgFity8nempChGDzh9m4+S5I1OQLtepxvD/1tp850fqtB1Jln9VbeuwyuFuJgnuAqc/NuTM9/UitfSEod/X3TDOoLoRT3ojJUi2LLH7QOFe5ucNm6CfRXie1ypH9cmr8uryTHQTZZ8jy43XF/t62DTb3RrfWGdHpxEjGokZikO67dCBp251MdVrhoyXZvLb3TlXVF/Sjn9z1Rd17ou4FRt/v5GXCkKMmYLYM6YNt8l4mSofCdeqCc6JU9/8CHzMcTy4e5NA8u2N9ElzCFP7ULdyYMAWBV3fg7LFGvYuFeysUiCBFvzT9m3+zxxA0/wG68kv1Gv+IboSfD0fS93i7czKrRmgjziqaDo0IN3kXBssX+pld/ZLPFep5O3WC0UN7ihS2OzQIhW7CQLJvET58HPpBkhybVp8UQvKyPiQp1HN4a86xbp+vTTFOdIZBFQBuSBtszscyEMil22SCfG7uN4KTS0Hl844S5ssoWoExrImJ/2Uaz4C6IoneL1QLM10GImmiM/now== X-MS-Exchange-CrossTenant-Network-Message-Id: 15041086-5ded-4d65-daca-08dd2fee9ce2 X-MS-Exchange-CrossTenant-AuthSource: PH7SPRMB0046.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2025 14:13:24.9945 (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: saoCSG2ikGIE3Pj6KH0pAwxleXazl+RwI/hEt/QTk+YD+/nDS0p8eRgGMK+QtHk9vcvErLbjK7iGFRHsziwJ+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB8442 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" Although in most of the cases it will be a lot faster, there are some rare cases in a few platforms where this can result in a timeout, specially when we enable the GPU-CPU balancing in GuC SLPC. The wait by itself consumes CPU and the GPU workload is small enough, so the priority is given to the CPU and we can expect some delays here. This number was a random picked number when reducing it on commit d4b02a4c613e ("drm/i915/selftests: Trim execlists runtime") in preparation for some scheduler improvements. Let's move it back up. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/selftests/igt_spinner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/selftests/igt_spinner.c b/drivers/gpu/drm/i915/selftests/igt_spinner.c index 8c3e1f20e5a1..bb757b922ad9 100644 --- a/drivers/gpu/drm/i915/selftests/igt_spinner.c +++ b/drivers/gpu/drm/i915/selftests/igt_spinner.c @@ -260,5 +260,5 @@ bool igt_wait_for_spinner(struct igt_spinner *spin, struct i915_request *rq) 100) && wait_for(i915_seqno_passed(hws_seqno(spin, rq), rq->fence.seqno), - 50)); + 1000)); } From patchwork Wed Jan 8 14:13:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 13930996 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 2F6D0E77199 for ; Wed, 8 Jan 2025 14:13:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 19CF210E8C0; Wed, 8 Jan 2025 14:13:45 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="VEhEkTpm"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id DA3AD10E8BD for ; Wed, 8 Jan 2025 14:13:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1736345623; x=1767881623; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=kcvSFMZxjivw3lGSg7BFDBDcZ6dkz/TdgPmKmPjnhVQ=; b=VEhEkTpmCkfrOnhHT6m247CnrwFfrK/jxL95fS0CnWCTEWdN3Q3IFlaK NjL/Jin+puURHBzI7HUHGnkCpu++o01mlRlvk19bcoTaggsFPTfsV/heW havslM9DNfM1P+l0dTQvvG7v03TtHDfoO6QcZr7N6qrVhFw2XFNp+ksa0 bUqpDuH8GMYGAJoRir8FYCdXEExSagHp3FVGxvEmn64OGK7K+kN2i+hie hhBIG0r199WBQytbsyETqjJgVzDmPkf5nffpm9jJ85Vdo2pQRSWPRkFyc Fkxxf9m1Tl+6yWR/9h1O+xo/fWAw8dwAvNiqvm8Lsm1rL4NwIw+AAjT+/ A==; X-CSE-ConnectionGUID: aCtha8LbQjO8mzPdTqdExA== X-CSE-MsgGUID: UOmIxWmSTLC5jpryFXw9Gg== X-IronPort-AV: E=McAfee;i="6700,10204,11309"; a="36456242" X-IronPort-AV: E=Sophos;i="6.12,298,1728975600"; d="scan'208";a="36456242" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2025 06:13:43 -0800 X-CSE-ConnectionGUID: LducNGsoQyCukWb2AgUlbw== X-CSE-MsgGUID: idb4WBwESL24vfPmQnoKhw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="140447414" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Jan 2025 06:13:43 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 8 Jan 2025 06:13:43 -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; Wed, 8 Jan 2025 06:13:43 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) 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; Wed, 8 Jan 2025 06:13:42 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JCOmrPQj6iCepkKgFUkZQTZCOEQVgmgk53CAZbBHSR+RU5kbmT57Fay+Y1eimDItiAqX6oET1uzXfDEHS37bXhwmLrhO/gjOhuA6GoXhnwed2M12PzjLntm8v2vct2D13ttKF0U453wA6J35J6WP5w9gllM0s7/R47/qc/mvnplbTuuXZuZWzlqStdEUaozDRKnrlYFvynCQBh33WDgKNRV73ie+lQk7PoAmpMYjAQImfJOqDpKI8oY7umWYlGVt0IXOGgPPcy5m+y1QH3ukqKsF8RvDPd1h3nRZ8UdLVvtibeFxlOr+l9rCNUWrxWci8r7GWEf6X53ey5ylC+o4xw== 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=w9nwdZOjIf0rPshantQYdARV8Su4vnlyJOyOpww5iMpTBL2FUjM6J3dY2WfQcQrLI6b27Ey8uERptOyuf610/PrWSFPkmRXxlB/Cx2EuRhlPoYFkI7Gl2wbAc/mxltRcVMS8QOag/mV5FBDIpaZfiontpNGl+NBdqGiLwXLHCtiNdE41rlPF4ph4UeddEBebH1ReejIurwMV+kVX0wM3B2gS+vYRgdFtE82P2ryCO5dweco7hthHRKqbeX5fojDvf/Yon8RKDzbjraC6Lqlqng58E4YIz96KEegeKfibvn0J5F9kyKLtXpoB116Q9mZu4z3Gd3Fe9gRD8hsf/A3e4w== 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 CH3PR11MB8442.namprd11.prod.outlook.com (2603:10b6:610:1ae::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.18; Wed, 8 Jan 2025 14:13:29 +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.8314.015; Wed, 8 Jan 2025 14:13:29 +0000 From: Rodrigo Vivi To: CC: Rodrigo Vivi , Vinay Belgaumkar Subject: [PATCH 2/3] drm/i915/guc/slpc: Enable GuC SLPC default strategies Date: Wed, 8 Jan 2025 09:13:16 -0500 Message-ID: <20250108141318.63823-3-rodrigo.vivi@intel.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250108141318.63823-1-rodrigo.vivi@intel.com> References: <20250108141318.63823-1-rodrigo.vivi@intel.com> X-ClientProxiedBy: MW4PR04CA0167.namprd04.prod.outlook.com (2603:10b6:303:85::22) To PH7SPRMB0046.namprd11.prod.outlook.com (2603:10b6:510:1f6::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7SPRMB0046:EE_|CH3PR11MB8442:EE_ X-MS-Office365-Filtering-Correlation-Id: 7ca3d097-37a4-4107-c0e4-08dd2fee9f33 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: 21CRHIHTwXMy1h9lhK1ItkgahGG/cWmmRD2+TZ5MAc6cvyhlqzc102dYhzSIb3sdbLQUyiAgFwFo3qi3vt7ULMQjd2IoTBy8hdGz3zwSWJEsfzr8zfDw2OQvY/IsoPPr8xm8hBX2T+ehB3ypn0ytI+3gPW3uq1ozwq1+64aHYoZ0gQZinCMTnGweq90JWts4HcJTB5CAoUMNufyb0wrjP2Leg4WDrB6VFurtwrwYjbdbfVyRAsaFYkCMiL4UCNW1OaomKtPgnE046JfCLS1wgzjrkMqA8h0zhQXxA6rEoIKL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NTueUTCO/N7TIoc99x1ZocZj0KVb 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)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +3Hh6Fnj0gmsNR6lK3qrA9fWOLOyg+S0NGnyP+cF0Qp0S2kD2ScT1nSIVEUHh/TVl8YsA/uKGI8JA2XLpk44Oed2/2a3JAIiFikx6Z0TKKKK/ERUm/FI9R++G98YYA70A4sfImwidgVVhzSNijhzDCYfNZ/W4zW1Hmi6ZuOsvb1YzISdXQHa8PX30s9SrLEbsllN0mt74uewsWUBtvc7StdbvbQ+KvH/HdTD5vbS/9/zZp8HYIXRZ4mulZg+zJf5suEreWGLXRshXBarw+Pn1V3hafmuv1j/CjZEcVA32hCslNRNm6swNvl1J3hGcRefEfoUx+me/dMdJXOH/tEDN29TvOoxoDkezb9isgrwPRbApciPOM7KR11A/0FvpR2OD3+BQ6z8s90VL1xSKM2Jvs3c9oX5eixT5rd0BCE4VOAaGFrInBiXlr5FCSGgMjw/Jo7aXjjePe7YRc6NIKY1NgjtL46cNW5ntmG4dSATAbbeZKMyqNf8GexeP0iS1KkmgivN6iVW5bjObjicO37TZzMwfKV5WJoJOjyI6Js4SUMO7kVOCmYyJgpSDqSGlPBaHwXTzdiVWKelR0lUABbvOEvzJIUidw1G+dUSOdLJhjLEDADr3HnfRyCCpGievPAzUV/GDWRqgaNBpFpU5OlqXm7YXKrMVUswvhr+mU3QrMG8Fkwvt3aJZg+TM1bwWnJ4d5zZycQlHyRK+NF5SD2qju7FrJJD1kOi/Kj6dnLc7mOfhvKk9ZtsgHghLwWM0218jbPff2fJdFTiXJNd5Mbb3Vk2QgXkqWs5BDARQCfAjyQ/+Y6YsZrxAIWkuNRgy2RvWmLYDJejXD5syaJ7DNtxGGQNqbM3p9nt5y1ig7p/8PrITU5LsD6XRmA/y6KE3VWUahvacEKCtya4GNa2HijwnXCeIae2uojd5Jan7JkWMJIJyMbXFVkkaglSDnEX8h0F+ATxCp2fxhVNQExEzpcu9clyz7SHR3X8NQLW1RJctY7drzTtgFQWtVhGEx60lxMJui4h9XcyML9LrARlGrRx+GLtGh0gr6DJCuWY/HJ3f2geJKGf2X7CcultzWrOAXgERg9iYU67mwOVuQCgROfXnVAZQHHl+rDDDPy+6sRilvoWcQ9m7hF7+QaT8mGKk/2YvzhC6bLTZvADSZLy266kz4BwZ2MjQtVEeGVLERztuw+DLs3wVaRBQDj4r+4MVZTGFWHbCioLAzyHS0fF0liw2J6LEgZJivW/o1kE2RxQiqzk8vq0eLl2DEmOav5nDaafYpn1lgvbky3nr9wW28mosJZ/mIC+ZKOXKLiHBiiQt0FfgSDxXyEZHBfjV0x06AhvlTF1v2AQU6shixITxwExKSjZ5MU260qghTnHiMl6khF3v0umovheL76Y7QJhCuupLENls7Nfr+T2EX/SSkaC31n3T/ZlOwM3OW+mcDLfrQox+uG9wjpyDQ3srmDsh2SpWkUbf0srQ7vqTbO5Euhi3lPP4wDYS0kD6P+ApHLtWGYti7kWebWNIATFA4ZPQrDkMIej3CTa9Fe8u6el4z1hQM3dSC8BOrSNjsbtP48AdjIN+3pEDW/PqrsMTjVDLNHmbNOArlWzyoI5EBZYF6bOew== X-MS-Exchange-CrossTenant-Network-Message-Id: 7ca3d097-37a4-4107-c0e4-08dd2fee9f33 X-MS-Exchange-CrossTenant-AuthSource: PH7SPRMB0046.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2025 14:13:28.9689 (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: K54ClF6zrokO/QqUHslKMbMycZdk6KvX3nx1htXfthRp9//zNvlJPFDa2kRXdoCMn2aEMVOluxfzxPYqENKmvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB8442 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 Reviewed-by: Vinay Belgaumkar --- 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 Wed Jan 8 14:13:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 13930997 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 070DDE77188 for ; Wed, 8 Jan 2025 14:14:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E89B10E8C2; Wed, 8 Jan 2025 14:14:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="H3RjlWMU"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2403A10E8C1 for ; Wed, 8 Jan 2025 14:13:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1736345639; x=1767881639; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=uDwoKR/ZJqUoRxjBEQj6NpDetLGbvlWFjT0i5URrfbw=; b=H3RjlWMURSP8XbRrkc59Lj1F1lFGjWZN/sD0je4Yjiufb2BRp3r1f9uT R6TMaKb80r1XF9YOHXbnzeUbH2tjNJ/2/PQnWVKZW+xdH3w/XIVkVZJ4n ApM+cB9RA6+kE8NYxoK85wROrL2ADjTIV9x1uPPxnb/LeaLBjD8AN5edi nVgfCFdWjHvwk5vipG13f2iz+wdvLrNOUKwutUWIMNt8uCY2UYmPpR3ld nyCxZPdDbrlMegZaK6edISojnv7u5ReOwhuY0/jhSM5tRpM+snLHiMLRX +U09zLQ/d8cnW6u4SacD8r5ir5BQb5cB6Eyw2toeIwFGEUPnN90nP9Sbs Q==; X-CSE-ConnectionGUID: Jj04nlHwTUKloUzPaYTjBw== X-CSE-MsgGUID: P2k3euPfQeWFJUwb9d6Gng== X-IronPort-AV: E=McAfee;i="6700,10204,11309"; a="54121152" X-IronPort-AV: E=Sophos;i="6.12,298,1728975600"; d="scan'208";a="54121152" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2025 06:13:59 -0800 X-CSE-ConnectionGUID: MbIKS3zeRrGLKsozPnQ8cA== X-CSE-MsgGUID: a7rDJMWrSfSJAvHnZFUwuw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,298,1728975600"; d="scan'208";a="103331585" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmviesa008.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Jan 2025 06:14:00 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) 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; Wed, 8 Jan 2025 06:13:57 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Wed, 8 Jan 2025 06:13:57 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.44) 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; Wed, 8 Jan 2025 06:13:57 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Fi+h4s/hx2P7dboJMTK/ofnnu0rVSdVAPz9eSGJjLi5rVSXuyWKH3nXy/nP5Vm8rNQ7g9uAQmDNfitPBDa2+R7+NTX4jzAmuUtsKkjt6WwqsccdbEN55iO7TB4cNT4L0atu7eAylXQ7R63klv0J1kyZ1FNGmP+5LzN+KB+hawlEfhJ5xTgqlHihsJuvdJg/gtzMJWbcibtuJFagG+8GlLx62HcY6/u/oitNco4UgNLuWVz3oU4aP+hueWdzhTc8Zq+jjPQIDi91OrBWTXB5me/oYI7cA9loCcSe5sV3mxrEseI2bDbR7waZxpZlT9ZvrQ/f4GOTwa2bxzR3nqWOSEQ== 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=mMvsvQS9jQiwsClVPv2CigIsJexUM/cNv4/ti0Q72gw=; b=ko3wwLeU8wJPPOEo+oXwF6aOBMt22OUMwjphLanr/XQd6evLjFSx0ivl5mzlaX4XQB+SioXaD24dqjIOVTRf22VclwHK4wVmKPHUEMnpc8gay88xCfTL7jgmYEXtV4c2+kZdK+FqF4A9VtyqlDUIG3kmaZgyNv2AXQ420SIyOI1xJrDmTuEPwU9bRfUr6TIZqE/UspW6rREjMnNilJZOxh2YgE5oIYnv3nh7VqtucCK8P0Lm29y5vnpP+4LHGziJHJIlmnEIvWXGZVRPbDkuXVBLPqDWKHBD6aJ2hhcFrHXhjygUnlVXXdz2OSu9Ps+QybWCXamTQsZPQna3VwWNAg== 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 CH3PR11MB8442.namprd11.prod.outlook.com (2603:10b6:610:1ae::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.18; Wed, 8 Jan 2025 14:13:32 +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.8314.015; Wed, 8 Jan 2025 14:13:32 +0000 From: Rodrigo Vivi To: CC: Rodrigo Vivi , Vinay Belgaumkar Subject: [PATCH 3/3] drm/i915/guc/slpc: Print more SLPC debug status information Date: Wed, 8 Jan 2025 09:13:17 -0500 Message-ID: <20250108141318.63823-4-rodrigo.vivi@intel.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250108141318.63823-1-rodrigo.vivi@intel.com> References: <20250108141318.63823-1-rodrigo.vivi@intel.com> X-ClientProxiedBy: MW4PR04CA0286.namprd04.prod.outlook.com (2603:10b6:303:89::21) To PH7SPRMB0046.namprd11.prod.outlook.com (2603:10b6:510:1f6::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7SPRMB0046:EE_|CH3PR11MB8442:EE_ X-MS-Office365-Filtering-Correlation-Id: d2cd25e2-6dd8-4ac0-336c-08dd2feea1a9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016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23F3BFpcOKgRamwOnNn3RY9vctqB+UGKnhupWbMVT5A54HtWXyfz2HbB7ils+obEwhsqXQlPF0ZNZdtlFGva/AgCcO6hwjkJEHu5Cfhqpp/CuYa/PGo7bhOt4fVDjS6uqOgMOHABYfIQxL0YcwALjRaHejYjQuxDOfpusCNJcSujqEqVqzjaHBqbeHFBdbGWF913rrUOSC8L3BTqmZBkdRnEH3kl3sNcdF8r1q25bl5Ii0qd2HHYqejOfVnTSjvg6prNHJdRTo5Y1RTS/Wonhzd1EeNx+c2auQxF+cxobXB7tB66hLotAK7JRZP27a0CxlnR6rKPHy24E0zrQrG2Qta/chlfsd 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)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IpSidgc1+0LUS/hecP6tjVSaR2DJ2Olz99tb2qVGD/DQq1E0aFCDBAKRF0LRbyD2KUm95B/i2QXCWAfv7c2YoudWL5rZa3IdE2lzjn6W3qpxy+hbE3aliQT4st+DmTHyU6x8veroQeyJNybN3HCfyt2o/s8MMiiyoyXgUCKwtijL24qdebWZugSZ7BdU57zDPNKKlH1CQyus+vVazXgj4XWeobVosxFuyYWDR4RcOaYfAoW6IbRvdoDKfZKr4wpTjZwllxOOtPRI0O7a37TIPD6wTqrNDI8WvR2KyCI+wrmIsYHwYiLHfR8hRqRX2k2WMxQCzS7UCLB32YqIFX0J8RCjMh7z0BmUEsbL1gdCsuSz2vboqCp4ZLZ8K3EVrfvUKNRS2BgrlvgHjhGSZXXHcv8yWgWVTNKAe5IeWb48Q5JDXJ/LB3VcomRuIW1I+UiHhtu3Mb+oLY8teKodvGeLcuCTIV/sTZJjURM2cG4D99TOv23H6ZBQMqJNSuh47RWvh+K/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5eEp+eEdViIhSh4mKdnJhqcuYKFw== X-MS-Exchange-CrossTenant-Network-Message-Id: d2cd25e2-6dd8-4ac0-336c-08dd2feea1a9 X-MS-Exchange-CrossTenant-AuthSource: PH7SPRMB0046.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2025 14:13:32.1361 (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: 2sYpkSBmjEMOmMglbaLlJBm9NFXc83HL6//RuFNrg+Z8I850Dvi1tdXB2o8w9HXHjwqKtMlMse8ftKB8nXv9dw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB8442 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. v2: fix identation Cc: Vinay Belgaumkar Signed-off-by: Rodrigo Vivi Reviewed-by: Vinay Belgaumkar --- 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..7a9a79fb46fb 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",