From patchwork Tue Jul 9 12:15:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1958387 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WJKhr6jQ0z1xpd for ; Tue, 9 Jul 2024 22:16:12 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sR9lH-0002EU-TH; Tue, 09 Jul 2024 12:15:59 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sR9lF-0002E9-G7 for kernel-team@lists.ubuntu.com; Tue, 09 Jul 2024 12:15:57 +0000 Received: from localhost.localdomain (unknown [222.129.37.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id E113540D82 for ; Tue, 9 Jul 2024 12:15:54 +0000 (UTC) From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [SRU][N][PATCH 0/1] Fix the failure of amdgpu initialization on v6.8 Date: Tue, 9 Jul 2024 20:15:45 +0800 Message-ID: <20240709121546.740094-1-aaron.ma@canonical.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2072428 [Impact] AMD GPUs like RX580 and RX5500 failed to be initialized after commit: 466a7d115326 ("drm/amd: Use the first non-dGPU PCI device for BW limits") The screen stays blank. [Fix] Set the current speed/width on devices. Upstream fix: ba46b3bda296 ("drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth()") [Test] Bug reporter tested on hardware, amdgpu works fine. Also verified on AMD iGPU of laptop by myself. glmark2 works fine. [Where problems could occur] It may break amdgpu. Alex Deucher (1): drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth() drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) Acked-by: Chris Chiu Acked-by: Thibault Ferrante