From patchwork Fri Nov 1 10:41:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 13859211 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 83FF3E6B242 for ; Fri, 1 Nov 2024 10:42:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 578E210E99C; Fri, 1 Nov 2024 10:42:02 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="JtMGIWSA"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 048B710E998; Fri, 1 Nov 2024 10:41: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=1730457720; x=1761993720; h=date:from:to:cc:subject:message-id:mime-version; bh=Vsu9kOp+oO2WIMCeHUOGh83ZRE/Sq6Kyg59C+jUsS6s=; b=JtMGIWSAyGWd7+KsWaBrkkwrEdDQO6MjK7FV6BO+nOeUyJ2m5Mi/uyKu DtxbGEjAx+upbSPz7J+RQS83GY7/DtvtqoT2bdsBPQ/zZ1xj+aYCV0I+x DpENdzcQb3KwivJlC2UcLtNnu0/Sl3h7xsqsjYjdFqidT7Wf9Y7gqK96P VKEuopGNkun7KKrS9hSN1l3IY9QCp4dCKezT7IapD6bSpCgvIkZAFcuvv cFvXnEn8bdmbVsxQYVbY3GwgJQhLMl/sbIgsAo2upiKeycZELNtiCthpG s2hIk31WYz+ms2XCvrJQnAkGjAdBgmj7SYCexUEVnCcxme2O6fQtLYrYo Q==; X-CSE-ConnectionGUID: r/O89EEzRd677FXmCQwrnw== X-CSE-MsgGUID: uVaL+UxKSHeffLHUkMQDpA== X-IronPort-AV: E=McAfee;i="6700,10204,11242"; a="34156392" X-IronPort-AV: E=Sophos;i="6.11,249,1725346800"; d="scan'208";a="34156392" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2024 03:41:59 -0700 X-CSE-ConnectionGUID: 6mpAOZJ1RuSI5fkRoHJc/g== X-CSE-MsgGUID: +8afJJk2QoS3lUr+c3XRNQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,249,1725346800"; d="scan'208";a="87468284" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa005.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 01 Nov 2024 03:41:59 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 1 Nov 2024 03:41:59 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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 via Frontend Transport; Fri, 1 Nov 2024 03:41:59 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.49) 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; Fri, 1 Nov 2024 03:41:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=T1CsVz67b+vOCoavVx0UJMku8QPi6iuFKxqxNZtu8zQmxj2C//99GP3wdX/7WYeO+0Q7bm6I3yAOgtz7iQBPWp6ZfgurvFT58QYp7BkvW64ylTgdYjz7e3XTUVXpQWSKuAH7yZk/VzTw7wUch81VPWX9Fl2KDQ2lJJiE8ZIYP4k9Pid2MKja26h4nWpvRhmBTwblBOJCphliCllqh+IqaLfS4aDOdUtzJw+eV8FdGWCdtEy1YivZ1f202BA+tRM9wybLhfxeUzLu1J89hEYD2ZLvmBYen0N6h+PP5DDydi3reVZu5lDf3R6AQ0XXLNmoVfWBLwRYch0B/AHxynC3xA== 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=hG2IpAXnJ6okDOI59YmyEB/p8E33gcDTSgXfJvZ/HcI=; b=Oa0RQ8DQRu6RChqkRMRZNwWr+bEkkNjEkl1eoXYvcmtRIfXnP/rAaxZQOyS+Y1NDcLzlHAcXMCDcWtm6i5MFvNumNmVyXcx0u5ZORIklILcukiRgOub0EY/BfX+fZGqhxyjJpcmkneGDmSfhv1spYfdMh53AHiE7Re/odOrru038PF4m5NX0YEMjinAwCZqAnP8s4QiJgtmw690JxnYtcW9HtU6azD8TQyhWCIyD08WCcncGF/4dKeqFMQ4V9alW+6xZTUrjEV5keB6VwXQqSiOdpuC0LunU6bTXjHAtbBslp2z+IgfySmF0MNjMiSougFf2xd9fK7dmVX1ymdHGLg== 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 CY5PR11MB6139.namprd11.prod.outlook.com (2603:10b6:930:29::17) by IA1PR11MB6099.namprd11.prod.outlook.com (2603:10b6:208:3d5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.20; Fri, 1 Nov 2024 10:41:56 +0000 Received: from CY5PR11MB6139.namprd11.prod.outlook.com ([fe80::7141:316f:77a0:9c44]) by CY5PR11MB6139.namprd11.prod.outlook.com ([fe80::7141:316f:77a0:9c44%6]) with mapi id 15.20.8114.015; Fri, 1 Nov 2024 10:41:56 +0000 Date: Fri, 1 Nov 2024 05:41:52 -0500 From: Lucas De Marchi To: Dave Airlie , Simona Vetter CC: Jani Nikula , Joonas Lahtinen , Tvrtko Ursulin , Rodrigo Vivi , Thomas Zimmermann , Maarten Lankhorst , Maxime Ripard , Thomas =?utf-8?q?Hellstr=C3=B6m?= , Oded Gabbay , "Lucas De Marchi" , , , , Subject: [PULL] drm-xe-fixes Message-ID: Content-Disposition: inline X-ClientProxiedBy: MW4PR03CA0040.namprd03.prod.outlook.com (2603:10b6:303:8e::15) To CY5PR11MB6139.namprd11.prod.outlook.com (2603:10b6:930:29::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY5PR11MB6139:EE_|IA1PR11MB6099:EE_ X-MS-Office365-Filtering-Correlation-Id: f8aa3595-590d-4f4e-072d-08dcfa61ce86 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: WLuNpaJyhlYJbjkuFWj0RL+XfUErHoT/Ka57JYN4gdyEwcRGqsF5gNl2OUNivvuHS61Rjgp2OH6FdqVlRkxGsmEbfmTlIoTwpcVYO+sQ6fUMtomBBLHsQSQAx+VnjGKAeh1ZAVAZ3nWa1rKZovyPyIS127/uWn5lCkeRYqIsN88I4I+8+zUrmI64hCYmNpl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IV X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY5PR11MB6139.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(7416014)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DK3qh3KYW2m7zXIFxr5qd2CPf/S8IiV7mbPjpp35nrbnEruGrWPekxUVAA6uecSYbJGGFuYYuhHhYLeNWlcrjiaSZd832MyXeOug75jDZZ6+9+mK3iDATx5HX6iWRU0FrySYG4gcmBHFR9VZwZ+cP3TzFUpbLrH0on7HHksL70B5QwQjzyY4/G37/Mf7u9Dz5qQHMhtLdPAb8oCiQQ77j3wkPcn/MkkjjYMoh2hHzaMsaZZBw4LN1c2f0L06lDXLxoTJqVWhGLKQlEeFSYMPMKRNBjXox8oOFRwLHwJpT+MUPN+Q51LSa5UtG7rHBSXqCaWzCasllp+jtnatxyb1Yg3PBwpcGzYOVMvhKLAJ2hrv2tO6rTa/LEycakyAfmb22K5s6zUAmYLWTHWFxHIM/xkRiD5MaQFm2Zyx8AzHytm6aQxE2BrwDuwSxM7eU7jslFyGf1uINWCVMGymAw+PTkF5WcOB0voI8uAh2l4XkwAeFOy6DhebcbyouIF+kmg4vBZjC0+/WOa9aKPWPyDam8xef8TZUo6kpbh6YAHzQfSUvJaUc92Zr2LWs7VsIk8qyOrl+o1Ab3MyXO0pYpKRRfCNbrpHFRhd0vo8IQxYimTcl3eiDSn/vJiUyeDKaQcH9ytx+rsde60NWFJBZtpgsE7wSUZuebAuw5RV4ytYZi1isjpdYOI6XLrCNCNzaFHFcLYLdmX5o506EDTK4yKF7f7K8b3JU8G93j+JlTdZSLK7LspYXCsWzNhFVmQfDUrcnxFlKnB2ggkiGxephaiRJ9ocoS09EYffTD+yQ3Klu896bn6AlduZqnwp/OzH6EH1de3X5fZV1DJ1qdLaeogg85jm/MWdKjhTHiplnjwxFA5BVCYTIF2UT0QHNJrAbiKan5eLaIp52JaWygdDgzKZ0jFYV4mddTtbjk2LGX2V4Ua3RDS/cnTnmBEBehN7tQo6rRzHL+vFT4v5t2HkQPTZH9KZXA7Refr9xsio93gskm/7Jpi4WSIM56ATu1e2lhC+NgS2J4iUVQMFrBUPjnB1wlduwjh+LYM1f1v7mAarUI+RRNz0ADZZYXioJrUkgkwimpqLuKK+tP1bPG+fIYvpVVvDtUxHXS90/gtyy6E6XvSmROJq6TKCjko5ZFoTk7/KftO0AAjR8QvzeUA+F+2NcxePuzg6lp4RtXI2m3/h+fJ4ukZDIaRqzwWGotTbYWAcMAqAVe63simh2ISQUW0C8R1qz2ai1qI31JDYmYuklLsTMRTZujIyp+S+/MYYL8mYcp2QfRCE+oMSPG3SPulgMocRNycFSgOLJIatmb/8leg44EEinLi+t5JzAEswHfUNWDdM+JknykR6LBHU0gBhzSapHvweHssCSUxgJ9Sdjd338iZdGazUcERC1it7hZ+S2PiYZCBHNme2GrVHPhfJbiVNkYUTK4JZyIz8CgII6ucEFdPzMPDqym3P5rQGmYFLPgufT4nrkYLzWIwfh88/SL0FiK9X3RfjcoUV9QD5U/K0Khlx1GJMNCVH/Ut90eoH4xQIgavfqRtDSj735OrHf0GMrYRlxAilPtPSH7nWD5JhCkXOM0UbnWNOCHrujtBfDRR8Dbxy8P6iu1BxWNTqLQ== X-MS-Exchange-CrossTenant-Network-Message-Id: f8aa3595-590d-4f4e-072d-08dcfa61ce86 X-MS-Exchange-CrossTenant-AuthSource: CY5PR11MB6139.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2024 10:41:56.5498 (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: +/DDbBs6p7VkKL2NhRrpca1Pu5FJwjYtjwN+G5MnF/6xqXvX1ezlTIC2H/MRRKQUJbxgPIw4W5Vw97vcsHwRQAJ7F6qWs8PHIORkThps8ME= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6099 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 Simona, drm-xe-fixes for 6.12-rc6. Two important fixes for LNL and one missing hpd enabling. This last one brought in a refactor as dependency, otherwise it would cause some headache with conflicts. thanks Lucas De Marchi drm-xe-fixes-2024-10-31: Driver Changes: - Fix missing HPD interrupt enabling, bringing one PM refactor with it (Imre / Maarten) - Workaround LNL GGTT invalidation not being visible to GuC (Matthew Brost) - Avoid getting jobs stuck without a protecting timeout (Matthew Brost) The following changes since commit 81983758430957d9a5cb3333fe324fd70cf63e7e: Linux 6.12-rc5 (2024-10-27 12:52:02 -1000) are available in the Git repository at: https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-10-31 for you to fetch changes up to fe05cee4d9533892210e1ee90147175d87e7c053: drm/xe: Don't short circuit TDR on jobs not started (2024-10-31 07:03:14 -0700) ---------------------------------------------------------------- Driver Changes: - Fix missing HPD interrupt enabling, bringing one PM refactor with it (Imre / Maarten) - Workaround LNL GGTT invalidation not being visible to GuC (Matthew Brost) - Avoid getting jobs stuck without a protecting timeout (Matthew Brost) ---------------------------------------------------------------- Imre Deak (2): drm/xe/display: Separate the d3cold and non-d3cold runtime PM handling drm/xe/display: Add missing HPD interrupt enabling during non-d3cold RPM resume Maarten Lankhorst (1): drm/xe: Remove runtime argument from display s/r functions Matthew Brost (2): drm/xe: Add mmio read before GGTT invalidate drm/xe: Don't short circuit TDR on jobs not started drivers/gpu/drm/xe/display/xe_display.c | 71 +++++++++++++++++++++------------ drivers/gpu/drm/xe/display/xe_display.h | 8 ++-- drivers/gpu/drm/xe/xe_ggtt.c | 10 +++++ drivers/gpu/drm/xe/xe_guc_submit.c | 18 ++++++--- drivers/gpu/drm/xe/xe_pm.c | 6 +-- 5 files changed, 75 insertions(+), 38 deletions(-)