From patchwork Fri Sep 27 20:28:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 13814540 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 7D334CDD1D2 for ; Fri, 27 Sep 2024 20:28:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E5F7010ED18; Fri, 27 Sep 2024 20:28:38 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.b="14Fprj+8"; dkim-atps=neutral Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2080.outbound.protection.outlook.com [40.107.236.80]) by gabe.freedesktop.org (Postfix) with ESMTPS id 64E3010ED17; Fri, 27 Sep 2024 20:28:37 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=zEhflLaevNCErS8+sbmcL0JPHhZqMrCxMSvtPNbrFApgKofRVVbo+bQbzlJlc54AuPLvMaMZJFTLao6+zPQC/GezQODrxMY7MJ3+1EpEVSwWfT1cXfPc0/Pt6gn2VVQhpoQay/0poh+A3OVzUiyJ4m6LnXT0twQmtrzE5IJ3pITfpqePZZtDD6TlO0LSkiotYlYxiiCH6lYG70tj6TM5aeDOII+7eAcUQyRqTUKezLdJknfJoph6we91RhONHvPj1VP1CKOWRQaTvgq9Jf6RlrrcIbvXkXg2iYpRSOkZo+gnNWRURKXuMjs7sPixo8A+kXgWh77NL6FylhticvXTMw== 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=o711O5DTIJL+kiJf7mtckwz2zikfF1kDonLhti48jPo=; b=Eu1gakhGeFDkj+lfb3ANZOZBAgsmVE/8wIlPk+kqPUFm3ntznhcMeuuOrlQjCx4+CDvf+mwO0Q8cC+lMqAwfWD52C0mbRQCRl+vLSyItkH/b7q0hqq9rvpCG9l34gNWletUFPJrTJjxySLICOBtsdC8ybIwAjWcoqg478cwtGy0WaOPQ2CIJZ+BmkkadtA010BpMu2CFmacrovXR/QTgTiGGZdfa0BBzwMsI1YfAFUykBPh85W+YFnXl91iYAnpDMPExIA6kKXHSlSkkpSSJi57c/NcjZZrFoBpUEoLnSZHNFeSCFT6+Lwpfti1r4FF65rXNwpZOwJMPOspQNrnUxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.freedesktop.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o711O5DTIJL+kiJf7mtckwz2zikfF1kDonLhti48jPo=; b=14Fprj+89ZBCeAyS3uLpL2W+y38OsYtlRZ3ull+Rzz4Lzr7/7hD/QPxyl68lYVFhq9u9yb3Lav2XD7upky92OW4lBkUIcVORVLor1yxa5DiZjkyxaPkMX4VSSyvZMyP+jzGt6aOLj5ZCUP8p769qVDTJMjLxQmXhTjTTaluj/NM= Received: from CH5PR03CA0016.namprd03.prod.outlook.com (2603:10b6:610:1f1::28) by DS7PR12MB5815.namprd12.prod.outlook.com (2603:10b6:8:77::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.22; Fri, 27 Sep 2024 20:28:34 +0000 Received: from CH3PEPF00000009.namprd04.prod.outlook.com (2603:10b6:610:1f1:cafe::5e) by CH5PR03CA0016.outlook.office365.com (2603:10b6:610:1f1::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.24 via Frontend Transport; Fri, 27 Sep 2024 20:28:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH3PEPF00000009.mail.protection.outlook.com (10.167.244.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8005.15 via Frontend Transport; Fri, 27 Sep 2024 20:28:33 +0000 Received: from tr4.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 27 Sep 2024 15:28:32 -0500 From: Alex Deucher To: , , , CC: Alex Deucher Subject: [pull] amdgpu, amdkfd drm-fixes-6.12 Date: Fri, 27 Sep 2024 16:28:18 -0400 Message-ID: <20240927202819.2978109-1-alexander.deucher@amd.com> X-Mailer: git-send-email 2.46.1 MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PEPF00000009:EE_|DS7PR12MB5815:EE_ X-MS-Office365-Filtering-Correlation-Id: 11b5888c-c1a9-475f-fbbd-08dcdf32f567 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?q?gUTm28dq3If0dsNUFheFPK46V1RufeZ?= =?utf-8?q?9FzPkR0DV7zdm1p8G84nPwL2iUUjyPlcCWw7CmQMKUt/Ogij2GjOUf5wQtVomaLm5?= =?utf-8?q?dxRbLO+sC7AiT1o1w0bKqVQ8Ad3lYJ5O1TC8+L3LwRlmcj/1OocXrr5tn19+WTjbv?= =?utf-8?q?yE8QX4EFKKJBeHFXLJgDEXgdwO7IP6uE6BLMVi7tAJeBa4i2/NS1MZ+RqytzUQpto?= =?utf-8?q?PPDMjdswo6xMmyIpBiwlUBKq0beUAlaZwxatRbcs0CS7oF3CdKRSURyYoTXcmmpBm?= =?utf-8?q?/hxpaoqWIQk8J2rfdOeidRNPR/KHyjsjp4KCoRkNapmSzwCVu0S8IXvmS+am8o4CV?= =?utf-8?q?CSapKYKrUJUM90gkzAFJr/BhjcgjafPP0efBjIoXsR+I5g5NxTjs4M9s90Lf6yKlQ?= =?utf-8?q?ZZH1B8xPWhryRtHa4k+fvQjJ11ggsKoNuc57nD5DSnD57j2JjPcQ2PJMRUsg4OZax?= =?utf-8?q?pFrvbDu09U7IhXwl1ooxG3acI51GvL74z2WRyUAUtP4c1p8zFk7P5EIdhD6BJRQlP?= =?utf-8?q?M+uz/L5DF30JbMFMPMchZopqSJebkZ7An0Fxw+JPp3Q6FWJaCMROUx22z9K4myxjN?= =?utf-8?q?Ntb/Aw1t1olyg7rtDZhXNLTx1eXKw+pHXHHQn1L7mlBmCYXKmqjbkibaqNT1qeipQ?= =?utf-8?q?Mqx6BzdpITDRwZ61oDbILyGBDQ5ocQkuDnKWMcz37hLmAzYTJ1+WpD4aKOdmF/k7X?= =?utf-8?q?+7zJc9HH8au00Eyx6zVMKWGsAsoUWiJkPK0eq9UAkofvhGcpUHD7YvaFynIdkek2v?= =?utf-8?q?3nur+64nlGwjYqaX6X73BCY5I/Xpdk0Xr3JeoFfMI36f5u2dvhnLj1Q9ZbF/W4+qy?= =?utf-8?q?xmzMcwqqaMh0gxMTZBQkhUGKSuFpsz+WkT+syK0Dq+ujVv29KWkP+4Af9WdMYfsdh?= =?utf-8?q?et8wlxsIhoo51QETNwsVGhsd6U8Xb7yOuSiscyfbW3k4fFN9ZyQvtd6B+CGVS2+NO?= =?utf-8?q?PjJIWBXRMPT4Pb5aaYK6s8X+ptDbqJ7/mEHiN7MlyVr/vA85HT04KNy1o68E+rxYd?= =?utf-8?q?daSPCDBRpfXCOANrqZzS3j5VH7UzIwU6sNOvB9hnnmhwO/QSMtXBKlj0mypObzbjc?= =?utf-8?q?vN62o0wq/1mWSKbl/NX+j9Jsy5QPrJd2fNsBvbVavjlJo4bUDjrWhxo7bGCrbRbeA?= =?utf-8?q?f1K13NyuaJ9YOzSJZlo3Zae+fWENQTvqCPptF5V2zvomTAF/G9WV0PfrhCHDTGJtw?= =?utf-8?q?Mni62SF6Iu5kKy9Gb7JwtU56k8OT1ngRs0SB/9Q9+XueJxXqsp9FIGgfSKuui5pBi?= =?utf-8?q?t84gH4+wngX/W?= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(376014)(1800799024)(36860700013)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2024 20:28:33.7109 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 11b5888c-c1a9-475f-fbbd-08dcdf32f567 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH3PEPF00000009.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5815 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dave, Simona, Fixes for 6.12. The following changes since commit 84f76408abe989809de19d02e476b044fd985adc: drm/amdgpu/mes12: reduce timeout (2024-09-18 16:15:13 -0400) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.12-2024-09-27 for you to fetch changes up to d7d2688bf4ea58734d73e18edcbf4684b1496d30: drm/amd/pm: update workload mask after the setting (2024-09-26 17:05:10 -0400) ---------------------------------------------------------------- amd-drm-fixes-6.12-2024-09-27: amdgpu: - MES 12 fix - KFD fence sync fix - SR-IOV fixes - VCN 4.0.6 fix - SDMA 7.x fix - Bump driver version to note cleared VRAM support - SWSMU fix amdgpu: - CU occupancy logic fix - SDMA queue fix ---------------------------------------------------------------- Alex Deucher (2): drm/amdgpu: fix vbios fetching for SR-IOV drm/amdgpu: bump driver version for cleared VRAM Christian König (1): drm/amdgpu: sync to KFD fences before clearing PTEs Frank Min (1): drm/amdgpu: fix PTE copy corruption for sdma 7 Jack Xiao (1): drm/amdgpu/mes12: set enable_level_process_quantum_check Kenneth Feng (1): drm/amd/pm: update workload mask after the setting Mukul Joshi (2): drm/amdkfd: Update logic for CU occupancy calculations drm/amdkfd: Fix CU occupancy for GFX 9.4.3 Saleemkhan Jamadar (1): drm/amdgpu/vcn: enable AV1 on both instances Sreekant Somasekharan (1): drm/amdkfd: Add SDMA queue quantum support for GFX12 ZhenGuo Yin (1): drm/amdgpu: skip coredump after job timeout in SRIOV drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 108 ++++++-------- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.h | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 11 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 30 ++++ drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 + drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 1 + drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 165 --------------------- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 24 +++ .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 3 + drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c | 4 + drivers/gpu/drm/amd/amdkfd/kfd_process.c | 30 +++- drivers/gpu/drm/amd/include/kgd_kfd_interface.h | 10 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 6 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 3 + .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 6 +- 19 files changed, 186 insertions(+), 242 deletions(-)