From patchwork Thu Sep 5 13:28:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 13792362 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 2FCB1CD5BC8 for ; Thu, 5 Sep 2024 13:29:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8ABFE10E8B3; Thu, 5 Sep 2024 13:29:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="R9BfhTz/"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id C8EA710E8AF; Thu, 5 Sep 2024 13:29:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725542945; x=1757078945; h=date:from:to:cc:subject:message-id:mime-version; bh=Kk0Qhk5Bz2PIR8v0gS04vCVhhCMsC0U+3VvXzladKnU=; b=R9BfhTz/F7UPjVYxHvrt0mmr+n2gFxBVh5kGhdL/aWVm+STiFvirHrkB 2H8nuJS2kFV4a3BxI2dnnww8To996gbmfWkCX14wO3fAJvKAQmpXT6BDx DdEE8IflNh7jaqLhvCOwCvzXR+wUBrpOqH4bX9ccV1msVCOpYCc3jRZ5Y I6TUPCaX2GHqvnr0vnjEKoaqN/vUmZhSmifcWwRc9uFFAsO4tbu05bBAF Sr1GqYtzxDtzp13mjgXYoGUnJ2iNaiHosTCr6Nm7CCpqpIEet6+xs1Bva yOM+EzyurREQPIUOOG+EmzSzLa6a41d/ji5UeL5OVyuoBLKJIlSKKNPMS g==; X-CSE-ConnectionGUID: bPjo/euxSyGliXM5ikX6Uw== X-CSE-MsgGUID: uNDNeWcRQP2PgamOGD8hHA== X-IronPort-AV: E=McAfee;i="6700,10204,11186"; a="28048423" X-IronPort-AV: E=Sophos;i="6.10,204,1719903600"; d="scan'208";a="28048423" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2024 06:29:04 -0700 X-CSE-ConnectionGUID: dlrsG2bCQ+ynwWgp5QT9ow== X-CSE-MsgGUID: S2mVFk1SRryKLgr79BoaYA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,204,1719903600"; d="scan'208";a="65321062" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 05 Sep 2024 06:29:04 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 5 Sep 2024 06:29:04 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 5 Sep 2024 06:29:04 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.174) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 5 Sep 2024 06:29:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=R33BjCiKOz0aJuWKJo+UsKBJXhFje/a2TF6s0IcVmrgULoIJPVd10ZHc3QlR6MHKJaIM4cD/7cQ5985YdMzWYnvh7qxQktBkAYGnooaK3fez077tDqxMjUJ7dZt2lbGCnPL76ZH+EEQYrfAlGxAjaVb5QAPls3VlOEb2sAipf+RUyoAIzuuYKTu//NdLYKI2hrjQxspBmT6evb9U7h8Q1GFwEHmV5JU0Lbw6p7SLX0Lmop/LNee4p2/tAdW02S6wznq0P7NnW8SOKvnqRw7ADEysQeqhl1Ff06mA8uP0bSDvrVBTDbbDtpJxqWY+bxChisZFE05NufEtSCBLkKB97w== 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=UxbWOynt6h7VUmAUSUJww9WzjDcNDHWOR1rY1K4o2kg=; b=F77M2VVY6ZluAl47AAZrbaZiWes3v4Ik8cT+UgQiK3fM//7/o5FQUn7I4aeNyJPBvlyoCFOE+xnb9NCM7MJFSYewnYdqsdvJ8odG1iBxhCDSERUO0YPJipLjKAZY0DePdHDFJMtxL86HZpe0uWfeXy4lqRTVNcLZYMAXl9XtT6IMBz3lev7LMxybyy9SfE5ENH1jCv8Myp9rES/ixryyYBwS1FEURFx4CbkB8jX/ptO6kiqS47ytov7+PVISeCsdaj6Sb4QywT+rKrREZ3h2uV1cnBA9Rs/F7lO/iuwo3tLDTKIKqI/QfLQUUhwD6/d70wA/PR8CM51+JTMiTn6vYg== 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 BYAPR11MB2854.namprd11.prod.outlook.com (2603:10b6:a02:c9::12) by MN2PR11MB4712.namprd11.prod.outlook.com (2603:10b6:208:264::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.28; Thu, 5 Sep 2024 13:29:01 +0000 Received: from BYAPR11MB2854.namprd11.prod.outlook.com ([fe80::8a98:4745:7147:ed42]) by BYAPR11MB2854.namprd11.prod.outlook.com ([fe80::8a98:4745:7147:ed42%5]) with mapi id 15.20.7918.024; Thu, 5 Sep 2024 13:29:01 +0000 Date: Thu, 5 Sep 2024 09:28:54 -0400 From: Rodrigo Vivi To: Dave Airlie , Simona Vetter CC: Jani Nikula , Joonas Lahtinen , Tvrtko Ursulin , Rodrigo Vivi , Thomas Zimmermann , Maarten Lankhorst , Maxime Ripard , Thomas =?iso-8859-1?q?Hellstr=F6m?= , Oded Gabbay , "Lucas De Marchi" , , , , Subject: [PULL] drm-xe-fixes Message-ID: Content-Disposition: inline X-ClientProxiedBy: MW4PR04CA0363.namprd04.prod.outlook.com (2603:10b6:303:81::8) To BYAPR11MB2854.namprd11.prod.outlook.com (2603:10b6:a02:c9::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR11MB2854:EE_|MN2PR11MB4712:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b751e57-f00f-40dd-e526-08dccdaeb406 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: yVUeJYN0iCKdzOTp/ngmh6E9jFShd99Jus1X0Md61VUfNZyU/eKItco2DXT7ybcbSrHqCETpSXXScCY0Ndh0juVjJURYSZB2UQmd03tLqPhN8k06Q7fSk1YIdbrzpvPL0RkdIRvM4votX2Q5K1Tzw4LQex3HC5lqSwUrjUXDWzivUWm210KXIU+8ihQX5J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B72C28slOKFxCQteEcTpCTASf0Ay48BZt8CgCoG7K40Egk2xZ/jrzxUzGY9b6HinUckK+c= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2854.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(7416014)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YwD8qya+7Gww2VKlbH4kVTY7JZkOli8GKxV6Fbr8h/sPs0EY0kUcFLqsTg8DxEB1uCLjprY3iSF1J5kDGzF0H9Sk7AtVXdEajgseKVJeiVOJzGqBintzW1FHo1fKljyOqLEOJ1k1CuLEw0C0FpjuF/abnagKBfEaMxcZlXr/1fG47KwWlqmjvXmqlQl1LT0mRuHE5hnOnKr+u8RIcR3/cwm0duG1XwjM/bOMS1Q+ulRd7GoZNtQrgWM/yvcEw/gJmP6NgrSxxQmjX3vH5qrfTgxVBrVqrp50cERa42DAbYTWBWHcc7tYXPfzdTkfBkGirDu9B1w9vpPIUo1Mvk/HRyEdtERDDegJq3ZKa5B0xpMvkgwhyJGLLOjldF5aqrFv/VSC7FLTPFA6omxY1U/7zUJcHcxKviKrj/frGCVHnSrkOtcnpcSdTEGSYa66tG/JFv6KiZp0EiEhjZMl35laj5Fy1MbUSkebyeRkmNtehSJyHGX9Zut8LdvZ5s6RUfKCK6hwqyBtYs5h4/LqBACvjvJmViHs3AR7YfGvgt1PgI/yE/cYh8xMIsHjjDrIDCWrK9FE3nDJN5OlEeOCPzEXOoz74E/+4gTHDUs9airnLerMvtLn/04WrJt5KXhgsoW7Xs/yGs0vUV8DyWDqgwuInaIGP4aKx3otDfg42OP/x8/QYw+YCR2IbthLtlvi3vyPykb4Y8enSCDGps6qbxC63n/S3gqq/3C9NV5I14ngw30BYVTWbL9Hv02AyWiJkelftBsE6DQyYbXI5Vm1BxqLMQH46vo7TAk1SZpAe/EvpBJ+TV02nGxNDn0cqK4x7OltAttmgYoYwrTXtfiAFwqpFpRZUkQtLoBohKVaScdfXyYGlJ6hcRkegy7aoufycuvceP63RxruVB5ye2YDPfm/xruTPuX1YdgdvFA4bNs3OUmPrzwLs7rqZhJCgZzJjMgsiOVUqp6mm1TTilSs0NJHHo0KQxTcNsyjpx1H6OtAGuFpG+FQbXdHFGF/7Grd+fV1J/RsGLue/tLKGk/jpqlKcmJatxQmHiyrfBZcbKfWsKDMon8UIHuh4P51TWx2Gh5Yu8RdMiYkh0BXPiskP8I4ZR0S/W/n76CAJmAdnA6IPYxTgr2APBUcM/vgWSt8kWkZKqfCpbchTAWyW3BtfqT/YtZhQlllF0jcve+9Pix1Ohf2iTsa6XDakb/rY754t3Aj8m/vbsB2jii9cHYJrI+hN193a9p3vWUBC4JgnV96qr3TWKj3theMYBsMFqHkNXXp1PkQGBk1xamLy2lZkeKk7KGFO65i5lM6PMxbdvl4bSx8l6wLgPaGIHgzaYPX4DTd6kTpiPf3u9ChWFZpwAK40e/mTvcXeP6zL6e5ZtKglOPyNCeGSK9Iiv+AnMZa5+QsaLlZxlz+eHBkBD9RM3AfiPBr8+Qp10ReK5ArD8UBIm+IkIDflHYmmqmQ8vsbrFHt4Aki3FvqMczZBl02G8PJXgxaMF7BlsMzn8Zt4OMLEgsgMknsmf/LphwaCp+yxRnYTkwZ6vmqyR1HsGcy+L3DkxYjKd2fbZnC77p5hW7DpDM1zR2GaeO8sWk/to0ct0Ifjkg5pU+rmibxdRW0yQOhQg== X-MS-Exchange-CrossTenant-Network-Message-Id: 5b751e57-f00f-40dd-e526-08dccdaeb406 X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2854.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2024 13:29:01.1468 (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: c8IeFghTE1vQsu3684xfA21HSDGIoNx/jPn4yZLj42uD8T6U/rAnZveS1oRJzSny/v0eVJJUBbVNsNsEicaS/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4712 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" Hi Dave and Sima, Here goes this week's drm-xe-fixes, mostly with power-management related fixes. drm-xe-fixes-2024-09-05: - GSC loading fix (Daniele) - PCODE mutex fix (Matt) - Suspend/Resume fixes (Maarten, Imre) - RPM fixes (Rodrigo) The following changes since commit 431c1646e1f86b949fa3685efc50b660a364c2b6: Linux 6.11-rc6 (2024-09-01 19:46:02 +1200) are available in the Git repository at: https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-09-05 for you to fetch changes up to 4bfc9c553f5ea8cbfe085824f3283885cf173c20: drm/xe/display: Avoid encoder_suspend at runtime suspend (2024-09-04 12:24:47 -0400) ---------------------------------------------------------------- - GSC loading fix (Daniele) - PCODE mutex fix (Matt) - Suspend/Resume fixes (Maarten, Imre) - RPM fixes (Rodrigo) ---------------------------------------------------------------- Daniele Ceraolo Spurio (1): drm/xe/gsc: Do not attempt to load the GSC multiple times Imre Deak (1): drm/xe: Suspend/resume user access only during system s/r Maarten Lankhorst (1): drm/xe/display: Match i915 driver suspend/resume sequences better Matt Roper (1): drm/xe/pcode: Treat pcode as per-tile rather than per-GT Rodrigo Vivi (2): drm/xe: Add missing runtime reference to wedged upon gt_reset drm/xe/display: Avoid encoder_suspend at runtime suspend .../gpu/drm/xe/compat-i915-headers/intel_pcode.h | 8 +- .../gpu/drm/xe/compat-i915-headers/intel_uncore.h | 7 ++ drivers/gpu/drm/xe/display/xe_display.c | 23 +++-- drivers/gpu/drm/xe/xe_device_types.h | 6 ++ drivers/gpu/drm/xe/xe_gsc.c | 12 +++ drivers/gpu/drm/xe/xe_gt.c | 7 +- drivers/gpu/drm/xe/xe_gt_types.h | 6 -- drivers/gpu/drm/xe/xe_guc_pc.c | 2 +- drivers/gpu/drm/xe/xe_hwmon.c | 4 +- drivers/gpu/drm/xe/xe_pcode.c | 104 ++++++++++----------- drivers/gpu/drm/xe/xe_pcode.h | 16 ++-- drivers/gpu/drm/xe/xe_tile.c | 3 + drivers/gpu/drm/xe/xe_uc_fw.h | 9 +- drivers/gpu/drm/xe/xe_vram_freq.c | 6 +- 14 files changed, 124 insertions(+), 89 deletions(-)