Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1139269rwl; Thu, 5 Jan 2023 09:09:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXsRlEjr6zNbCzEDH50C4bIB5z5tIRmPMStJPGFrSH+SthM3/vrm21V/oh04WkmfQZ+BHKdX X-Received: by 2002:a17:906:c18d:b0:843:770e:777d with SMTP id g13-20020a170906c18d00b00843770e777dmr43241282ejz.11.1672938589977; Thu, 05 Jan 2023 09:09:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672938589; cv=pass; d=google.com; s=arc-20160816; b=0a28G+fyvbGb/jlRePezQ7vrKok2Hh5MUoDhPmY6R46CeNvpo5eY8FQnF2T3cgMlUw XCUZie969IUrZ227wXDyVce6mUvhQVt0Rnan2NwxhfrMuM6Y3GuoDJLeg5oOA4ZyfyiW 7Hz/BCjEBZ7/LkX/rwqAqTTf7CnTKdeMh/9i3pukWlxivAeyTMt88AMe44IlqS7CsrVB nss4rNLR0A0yreSHSqJKEzj/hNLyoqW63Quhs6pPw8EcoNVTJYZC003kUbRdHVYQ5irE +ctaq/o8MaAkkRjOZfox2jRCBNjLej76FUDA2J0Wkjc5BVHp7PQx9TfNGsS8EtJGW/3W 8Gvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=JoRlATZezIzbq156Q+hKt2653PK9+2hR29djifUMMSo=; b=v9nH0RPs87tMSuR/Gu8TukRqS7yUP0RKxPnTQWTRaY0KMsWPepFgrrQq+H2ljLubm3 uSzfQzzTx0bJ35wqv2JrV3YeQ4BEs6isTSp0MqkXHd6jdsak0T2o4TO5iFfU18mRp4uI Stn+7ZzLJC6baHL8iPyiT2kLsr6kkzhXtqaUvZ3S+bxMnGa43WwZuKctTwDzYOACEibS BtM6H+Rxo6YHGX0upkXuT5FrjzFeV1hlmokTTWrf9J9Tx8X/l1jFEOM1YpU7ddl6wEEU GDJp3WC16r+Prjfv8WUwo1iMQ2yfSjfOww5HLPfijSHMU4JdsN8V4BSf+T88Ka4TiNJs b//g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=eiRHNW7X; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc18-20020a1709078a1200b0084c3a089f39si31794932ejc.350.2023.01.05.09.09.36; Thu, 05 Jan 2023 09:09:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=eiRHNW7X; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234650AbjAERCM (ORCPT + 56 others); Thu, 5 Jan 2023 12:02:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233967AbjAERCC (ORCPT ); Thu, 5 Jan 2023 12:02:02 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2065.outbound.protection.outlook.com [40.107.223.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ABE013FBE for ; Thu, 5 Jan 2023 09:02:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iBOxhDkp+7cSt51aO0v2KrAJYfEvd5uN1MqtifUWh4+cvfAcoe68t21K+IkM0CwFmtVDvpj9uDvuQcJV94HudN9w+lFiTkTD8WQQO7X3XRb/REQsdVUMGt73mrCRKU4uLtrCTRs2WNv+b5nTwtor3hD0qvQhxixdYGhDIXA7ccNS8mEw6Ry6Q1dBtaw6inPDQ6exX7/wJf5v0s95mRZJnhgfeeviR9L4nOufAQ5G84m54f8PEhlNbTAz3OVZU/XMB9Z5HC922QDBxPygFiJtn8Ztxr021kF2txl3cVukLSzTyEw94/A9RZgNZXaaGynl0X8vQA/YQGDdl9uQ9E6Ysw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=JoRlATZezIzbq156Q+hKt2653PK9+2hR29djifUMMSo=; b=kr+MamzZJ40UQ2PVhYyiHeGz19cmIUeH6jlTANsoRlBTghM7b7V0QHdfQfWGLa7Bvk8/LzJqQyPQCUrIDOTpNBH5XsqLHrDdsPAAsGREtGv3/bZsenpmpy7eiramh9qS3woqSjM3DWqXGJtrvwhGSaxn1bmGl9d346ComhysucivBW5/UORHwj91nCSKHVoLmMeSzUygIF4+vgWVJ/EREL5qVxikBDkfOALKgxsZ0QMH7jSuUJVIljTdeeRpVnD0I+wjOvzc+rM2eVrxplGKXCH9r2eAi3u+CVtiVbgyUhJAL2t46wY1ES1wt6jE8UGMdjmFs1yLETb18lGah0Ashw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=redhat.com 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 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=JoRlATZezIzbq156Q+hKt2653PK9+2hR29djifUMMSo=; b=eiRHNW7XnsMIUXzT7I6cNgOR9K9emLEyn8WTcLJH3wtn1f8ZmwokBK5x41SLySEVuiQItBRosxACqbWgtTB2TsfzMdGtVEnOyMP288XUrzZwXFV7VxliACcbNuynBM6K4htOfWb2Oqn3ilgFZUp7Hr4NZfDsTUexI3UWv5XkqDg= Received: from BN9PR03CA0366.namprd03.prod.outlook.com (2603:10b6:408:f7::11) by SA1PR12MB5614.namprd12.prod.outlook.com (2603:10b6:806:228::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Thu, 5 Jan 2023 17:01:55 +0000 Received: from BN8NAM11FT007.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f7:cafe::82) by BN9PR03CA0366.outlook.office365.com (2603:10b6:408:f7::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.15 via Frontend Transport; Thu, 5 Jan 2023 17:01:55 +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 BN8NAM11FT007.mail.protection.outlook.com (10.13.177.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5986.14 via Frontend Transport; Thu, 5 Jan 2023 17:01:55 +0000 Received: from AUS-LX-MLIMONCI.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.2375.34; Thu, 5 Jan 2023 11:01:53 -0600 From: Mario Limonciello To: Alex Deucher CC: Javier Martinez Canillas , Carlos Soriano Sanchez , , , David Airlie , "Daniel Vetter" , , Lazar Lijo , Mario Limonciello , Subject: [PATCH v7 00/45] Recover from failure to probe GPU Date: Thu, 5 Jan 2023 11:00:46 -0600 Message-ID: <20230105170138.717-1-mario.limonciello@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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: BN8NAM11FT007:EE_|SA1PR12MB5614:EE_ X-MS-Office365-Filtering-Correlation-Id: 9d7fb455-85d8-403e-58b8-08daef3e8c92 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jCMDlpF0H3ex+AEKfTUR99/ATisMXQGQfJGnELEPRWE4/rBMzIratzx50/NAZbwjNLlePYIr9SwasD8m7NMthGmR8RaRWNEciu23/s2rQuxUmO306lk+ofBiuuw6xtMnPFOU7tzYnLVMeCesUo12jTh3iL7Jg+Iu2B94SgUEArWUvFstjNvyicmQfBenS32E0d2MQ4tsms1rnOyz7dRMWb2qrWLqpS5X1HReD8jcYD0Lv2wcSPo8FgbZp+YaYxWaG+AB8HRAz4deTz4UY7/LWZkMgCO9OOU8LpioVLHSFNSAfE7/a9nqcob7qBfKzg+zmyKujm7DPjqf+1MSGCPgt8IMc0qtrgNVK3/jgl7jNq7STvaAMTKc7yQpA4KQc+/wJZ3TnF+hoSctuM2A1XXkjnWzrp5jgNbeDyXTwCZBD1itQb6+ILiZ5eCxjLeG6Ui81wiUFutjZ17OowlpwK6xsU9dTI6/n1fcfgME01f10rS9aXNyEwykcjuh1Y/NUrRGLkBmvK4iDlTguJmP2AuYPTh/hVEKwFtJfGH4ELZa0KCY1uALYb2nJ7ZuLJJvcEBrXgUT4x2VLGyM6BoczeOFF8BI1+FDP4dNCKyqaM7+qtvYxRsOBOUb1V+8qhsMqKBaVFq6RQ9DjCLBjbTv7vaOmCBdbIhUtBdZiXFZdvQOi+abVOdjrgx1lNnt8M66PbDlXdNLk7GA++ygML3utVamabNQNRXybujxLUSk9lumQv8= 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:(13230022)(4636009)(136003)(39860400002)(396003)(346002)(376002)(451199015)(40470700004)(46966006)(36840700001)(47076005)(16526019)(1076003)(426003)(336012)(186003)(82740400003)(81166007)(26005)(2616005)(86362001)(82310400005)(83380400001)(36756003)(44832011)(36860700001)(40480700001)(356005)(8936002)(4326008)(316002)(41300700001)(6862004)(5660300002)(6666004)(8676002)(70586007)(70206006)(40460700003)(7696005)(54906003)(37006003)(478600001)(2906002)(6636002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2023 17:01:55.1289 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9d7fb455-85d8-403e-58b8-08daef3e8c92 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: BN8NAM11FT007.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB5614 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One of the first thing that KMS drivers do during initialization is destroy the system firmware framebuffer by means of `drm_aperture_remove_conflicting_pci_framebuffers` This means that if for any reason the GPU failed to probe the user will be stuck with at best a screen frozen at the last thing that was shown before the KMS driver continued it's probe. The problem is most pronounced when new GPU support is introduced because users will need to have a recent linux-firmware snapshot on their system when they boot a kernel with matching support. However the problem is further exaggerated in the case of amdgpu because it has migrated to "IP discovery" where amdgpu will attempt to load on "ALL" AMD GPUs even if the driver is missing support for IP blocks contained in that GPU. IP discovery requires some probing and isn't run until after the framebuffer has been destroyed. This means a situation can occur where a user purchases a new GPU not yet supported by a distribution and when booting the installer it will "freeze" even if the distribution doesn't have the matching kernel support for those IP blocks. The perfect example of this is Ubuntu 22.10 and the new dGPUs just launched by AMD. The installation media ships with kernel 5.19 (which has IP discovery) but the amdgpu support for those IP blocks landed in kernel 6.0. The matching linux-firmware was released after 22.10's launch. The screen will freeze without nomodeset. Even if a user manages to install and then upgrades to kernel 6.0 after install they'll still have the problem of missing firmware, and the same experience. This is quite jarring for users, particularly if they don't know that they have to use "nomodeset" to install. To help the situation make changes to GPU discovery: 1) Delay releasing the firmware framebuffer until after early_init completed. This will help the situation of an older kernel that doesn't yet support the IP blocks probing a new GPU. IP discovery will have failed. 2) Request loading all PSP, VCN, SDMA, SMU, DMCUB, MES and GC microcode into memory during early_init. This will help the situation of new enough kernel for the IP discovery phase to otherwise pass but missing microcode from linux-firmware.git. v6->v7: * Pick up tags * Fix PSP TAv1 handling to match previous behavior (securedisplay_context only is set on PSPv10 and PSPv12/Renoir) v5->v6: * Fix arguments for amdgpu_ucode_release to allow clearing pointer * Fix whitespace mistake in VCN * Pick up tags v4->v5: * Rename amdgpu_ucode_load to amdgpu_ucode_request * Add and utilize amdgpu_ucode_release throughout existing patches * Update all amdgpu code to stop using request_firmware and release_firmware for microcode * Drop export of amdgpu_ucode_validate outside of amdgpu_ucode.c * Pick up relevant tags for some patches v3->v4: * Rework to delay framebuffer release until early_init is done * Make IP load microcode during early init phase * Add SMU and DMCUB checks for early_init loading * Add some new helper code for wrapping request_firmware calls (needed for early_init to return something besides -ENOENT) v2->v3: * Pick up tags for patches 1-10 * Rework patch 11 to not validate during discovery * Fix bugs with GFX9 due to gfx.num_gfx_rings not being set during discovery * Fix naming scheme for SDMA on dGPUs v1->v2: * Take the suggestion from v1 thread to delay the framebuffer release until ip discovery is done. This patch is CC to stable to that older stable kernels with IP discovery won't try to probe unknown IP. * Drop changes to drm aperature. * Fetch SDMA, VCN, MES, GC and PSP microcode during IP discovery. Mario Limonciello (27): drm/amd: Delay removal of the firmware framebuffer drm/amd: Add a legacy mapping to "amdgpu_ucode_ip_version_decode" drm/amd: Convert SMUv11 microcode to use `amdgpu_ucode_ip_version_decode` drm/amd: Convert SMUv13 microcode to use `amdgpu_ucode_ip_version_decode` drm/amd: Add a new helper for loading/validating microcode drm/amd: Use `amdgpu_ucode_request` helper for SDMA drm/amd: Convert SDMA to use `amdgpu_ucode_ip_version_decode` drm/amd: Make SDMA firmware load failures less noisy. drm/amd: Use `amdgpu_ucode_*` helpers for VCN drm/amd: Load VCN microcode during early_init drm/amd: Load MES microcode during early_init drm/amd: Use `amdgpu_ucode_*` helpers for MES drm/amd: Remove superfluous assignment for `adev->mes.adev` drm/amd: Use `amdgpu_ucode_*` helpers for GFX9 drm/amd: Load GFX9 microcode during early_init drm/amd: Use `amdgpu_ucode_*` helpers for GFX10 drm/amd: Load GFX10 microcode during early_init drm/amd: Use `amdgpu_ucode_*` helpers for GFX11 drm/amd: Load GFX11 microcode during early_init drm/amd: Parse both v1 and v2 TA microcode headers using same function drm/amd: Avoid BUG() for case of SRIOV missing IP version drm/amd: Load PSP microcode during early_init drm/amd: Use `amdgpu_ucode_*` helpers for PSP drm/amd/display: Load DMUB microcode during early_init drm/amd: Use `amdgpu_ucode_release` helper for DMUB drm/amd: Use `amdgpu_ucode_*` helpers for SMU drm/amd: Load SMU microcode during early_init drm/amd: Optimize SRIOV switch/case for PSP microcode load drm/amd: Use `amdgpu_ucode_*` helpers for GFX6 drm/amd: Use `amdgpu_ucode_*` helpers for GFX7 drm/amd: Use `amdgpu_ucode_*` helpers for GFX8 drm/amd: Use `amdgpu_ucode_*` helpers for GMC6 drm/amd: Use `amdgpu_ucode_*` helpers for GMC7 drm/amd: Use `amdgpu_ucode_*` helpers for GMC8 drm/amd: Use `amdgpu_ucode_*` helpers for SDMA2.4 drm/amd: Use `amdgpu_ucode_*` helpers for SDMA3.0 drm/amd: Use `amdgpu_ucode_*` helpers for SDMA on CIK drm/amd: Use `amdgpu_ucode_*` helpers for UVD drm/amd: Use `amdgpu_ucode_*` helpers for VCE drm/amd: Use `amdgpu_ucode_*` helpers for CGS drm/amd: Use `amdgpu_ucode_*` helpers for GPU info bin drm/amd: Use `amdgpu_ucode_*` helpers for DMCU drm/amd: Use `amdgpu_ucode_release` helper for powerplay drm/amd: Use `amdgpu_ucode_release` helper for si drm/amd: make amdgpu_ucode_validate static drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 11 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 22 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 6 - drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 59 ++++ drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 299 +++++++++--------- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 25 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 259 ++++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 14 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 14 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 65 +--- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 1 + drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 16 +- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 155 +++------ drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 124 +++----- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 30 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 68 +--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 94 ++---- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 140 ++------ drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 14 +- drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 13 +- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 13 +- drivers/gpu/drm/amd/amdgpu/imu_v11_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/mes_v10_1.c | 108 ++----- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 99 ++---- drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 80 +---- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 131 +------- drivers/gpu/drm/amd/amdgpu/psp_v12_0.c | 79 +---- drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 27 +- drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c | 14 +- drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 16 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 18 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 18 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 47 +-- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 30 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 55 +--- drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | 25 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 5 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 5 +- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 110 ++++--- drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 11 +- .../gpu/drm/amd/pm/powerplay/amd_powerplay.c | 3 +- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 12 +- .../gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 51 +-- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 28 +- 50 files changed, 900 insertions(+), 1545 deletions(-) -- 2.34.1