From patchwork Fri Dec 23 07:31:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1719071 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=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (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 4Ndf4b3WPMz1ydd for ; Fri, 23 Dec 2022 18:31:26 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1p8cWN-0004Zg-0M; Fri, 23 Dec 2022 07:31:11 +0000 Received: from mail-pj1-f43.google.com ([209.85.216.43]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1p8cWI-0004ZX-UW for kernel-team@lists.ubuntu.com; Fri, 23 Dec 2022 07:31:07 +0000 Received: by mail-pj1-f43.google.com with SMTP id fy4so4288616pjb.0 for ; Thu, 22 Dec 2022 23:31:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CuzhMDcwC3SiwUFxSnHmL5S4nHY13p2qhYZIB4xKh5U=; b=YIEvQ6x7QMggbh8DqnJH5DP4M9sUEZLSo4LczMxU9gG/mqcbx9SU7BgAzTjr+GMlfc MDhlTr4NA01IdyfWhlhM20m/GaHVgk3IFI7KSOHqeRGrWb/LCHhPeY7lNAIt7kHjPDcI +1uIeJvDfC7dqHKTmzTENYGhuBUEK5Pnhvr4ZDl5lidC70kJ/0mjyPyT+1mT9q2ejPcz ekOj747/3lPa3K4Xi6zLF3QMRQ50IQPq9Qe4wnEhiQGfryXw5wpcFB5DYHxacSRMMoM4 /YmmifcggUirAy8atNM3mbl0a7AId755jlneyR+PAcSof8x4yg+MRbox8SdJ1vUTQPzj dKzQ== X-Gm-Message-State: AFqh2kqDXMFVF7/ApyxAGZ6SYsI0TeG6I0SHYtXX49ptXvBWoMny0Y+F MBWOg3ciBqiv1xJjGEhoRIq9M7kJbak= X-Google-Smtp-Source: AMrXdXuUBLSVN0MY0F/hk/BeuX/F9bLXINkFONYTkuNpVik4YO/DOYJqhj/Pys8GUK4ust/Xo+PxHQ== X-Received: by 2002:a17:903:3241:b0:189:47a8:e9d0 with SMTP id ji1-20020a170903324100b0018947a8e9d0mr8230629plb.51.1671780664484; Thu, 22 Dec 2022 23:31:04 -0800 (PST) Received: from yewun.. (61-227-104-155.dynamic-ip.hinet.net. [61.227.104.155]) by smtp.gmail.com with ESMTPSA id a9-20020a170902710900b001869efb722csm1665030pll.215.2022.12.22.23.31.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 23:31:03 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][PULL][linux-firmware][Jammy] Add firmware for amdgpu navi31 GPU Date: Fri, 23 Dec 2022 15:31:01 +0800 Message-Id: <20221223073101.113101-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.43; envelope-from=vicamo@gmail.com; helo=mail-pj1-f43.google.com 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/2000133 [Impact] Failed to load gpu firmware for AMD NAVI31 GPU: amdgpu 0000:03:00.0: Direct firmware load for amdgpu/psp_13_0_0_sos.bin failed with error -2 amdgpu 0000:03:00.0: amdgpu: failed to init sos firmware [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp firmware! [Fix] Firmware blobs already upstreamed and accepted. [Test Case] Install cherry-picked firmware commits to /lib/firmware and check if one may enter GUI successfully. [Where problems could occur] New hardware, to be stablized in the future. [Other Info] The device driver is supported on v6.0 or newer. Only Lunar and Jammy (for oem-6.0/6.1) are nominated for these fixes. And since Lunar will be rebased onto upstream main branch HEAD soon or later, it's skipped for now. ---------------------------------------------------------------- The following changes since commit c3f7f775bd8da631c011ad9623d443bbd423ded9: i915: Add DMC v2.08 for DG2 (2022-12-13 12:02:36 +0200) are available in the Git repository at: https://git.launchpad.net/~vicamo/ubuntu/+source/linux-firmware bug-2000133/add-amdgpu-fw-navi31/jammy for you to fetch changes up to 141a24f020b70d04f8a8c8b0a33746e0d23e9f07: amdgpu: add VCN 4.0.0 firmware for amd-5.4 (2022-12-20 15:27:40 +0800) ---------------------------------------------------------------- Alex Deucher (6): amdgpu: add DCN 3.2.0 firmware for amd-5.4 amdgpu: add GC 11.0.0 firmware for amd-5.4 amdgpu: add PSP 13.0.0 firmware for amd-5.4 amdgpu: Add SDMA 6.0.0 firmware for amd-5.4 amdgpu: add SMU 13.0.0 firmware for amd-5.4 amdgpu: add VCN 4.0.0 firmware for amd-5.4 WHENCE | 13 +++++++++++++ amdgpu/dcn_3_2_0_dmcub.bin | Bin 0 -> 268176 bytes amdgpu/gc_11_0_0_imu.bin | Bin 0 -> 132352 bytes amdgpu/gc_11_0_0_me.bin | Bin 0 -> 187792 bytes amdgpu/gc_11_0_0_mec.bin | Bin 0 -> 407072 bytes amdgpu/gc_11_0_0_mes.bin | Bin 0 -> 285216 bytes amdgpu/gc_11_0_0_mes1.bin | Bin 0 -> 230592 bytes amdgpu/gc_11_0_0_pfp.bin | Bin 0 -> 206592 bytes amdgpu/gc_11_0_0_rlc.bin | Bin 0 -> 184992 bytes amdgpu/psp_13_0_0_sos.bin | Bin 0 -> 268304 bytes amdgpu/psp_13_0_0_ta.bin | Bin 0 -> 234752 bytes amdgpu/sdma_6_0_0.bin | Bin 0 -> 34560 bytes amdgpu/smu_13_0_0.bin | Bin 0 -> 292452 bytes amdgpu/vcn_4_0_0.bin | Bin 0 -> 365088 bytes 14 files changed, 13 insertions(+) create mode 100644 amdgpu/dcn_3_2_0_dmcub.bin create mode 100644 amdgpu/gc_11_0_0_imu.bin create mode 100644 amdgpu/gc_11_0_0_me.bin create mode 100644 amdgpu/gc_11_0_0_mec.bin create mode 100644 amdgpu/gc_11_0_0_mes.bin create mode 100644 amdgpu/gc_11_0_0_mes1.bin create mode 100644 amdgpu/gc_11_0_0_pfp.bin create mode 100644 amdgpu/gc_11_0_0_rlc.bin create mode 100644 amdgpu/psp_13_0_0_sos.bin create mode 100644 amdgpu/psp_13_0_0_ta.bin create mode 100644 amdgpu/sdma_6_0_0.bin create mode 100644 amdgpu/smu_13_0_0.bin create mode 100644 amdgpu/vcn_4_0_0.bin Binary files /dev/null and b/amdgpu/vcn_4_0_0.bin differ diff --git a/WHENCE b/WHENCE index ba1f666dc..74bd4c290 100644 --- a/WHENCE +++ b/WHENCE @@ -2730,8 +2730,18 @@ File: amdgpu/gc_10_3_7_mec.bin File: amdgpu/gc_10_3_7_mec2.bin File: amdgpu/gc_10_3_7_pfp.bin File: amdgpu/gc_10_3_7_rlc.bin +File: amdgpu/gc_11_0_0_imu.bin +File: amdgpu/gc_11_0_0_me.bin +File: amdgpu/gc_11_0_0_mec.bin +File: amdgpu/gc_11_0_0_mes1.bin +File: amdgpu/gc_11_0_0_mes.bin +File: amdgpu/gc_11_0_0_pfp.bin +File: amdgpu/gc_11_0_0_rlc.bin File: amdgpu/dcn_3_1_5_dmcub.bin File: amdgpu/dcn_3_1_6_dmcub.bin +File: amdgpu/dcn_3_2_0_dmcub.bin +File: amdgpu/psp_13_0_0_sos.bin +File: amdgpu/psp_13_0_0_ta.bin File: amdgpu/psp_13_0_5_asd.bin File: amdgpu/psp_13_0_5_ta.bin File: amdgpu/psp_13_0_5_toc.bin @@ -2740,7 +2750,10 @@ File: amdgpu/psp_13_0_8_ta.bin File: amdgpu/psp_13_0_8_toc.bin File: amdgpu/sdma_5_2_6.bin File: amdgpu/sdma_5_2_7.bin +File: amdgpu/sdma_6_0_0.bin +File: amdgpu/smu_13_0_0.bin File: amdgpu/vcn_3_1_2.bin +File: amdgpu/vcn_4_0_0.bin Licence: Redistributable. See LICENSE.amdgpu for details. diff --git a/amdgpu/dcn_3_2_0_dmcub.bin b/amdgpu/dcn_3_2_0_dmcub.bin new file mode 100644 index 000000000..be281dbdf Binary files /dev/null and b/amdgpu/dcn_3_2_0_dmcub.bin differ diff --git a/amdgpu/gc_11_0_0_imu.bin b/amdgpu/gc_11_0_0_imu.bin new file mode 100644 index 000000000..d166a5cc9 Binary files /dev/null and b/amdgpu/gc_11_0_0_imu.bin differ diff --git a/amdgpu/gc_11_0_0_me.bin b/amdgpu/gc_11_0_0_me.bin new file mode 100644 index 000000000..a7d7f2ecd Binary files /dev/null and b/amdgpu/gc_11_0_0_me.bin differ diff --git a/amdgpu/gc_11_0_0_mec.bin b/amdgpu/gc_11_0_0_mec.bin new file mode 100644 index 000000000..8e1f16e35 Binary files /dev/null and b/amdgpu/gc_11_0_0_mec.bin differ diff --git a/amdgpu/gc_11_0_0_mes.bin b/amdgpu/gc_11_0_0_mes.bin new file mode 100644 index 000000000..780802852 Binary files /dev/null and b/amdgpu/gc_11_0_0_mes.bin differ diff --git a/amdgpu/gc_11_0_0_mes1.bin b/amdgpu/gc_11_0_0_mes1.bin new file mode 100644 index 000000000..f37970536 Binary files /dev/null and b/amdgpu/gc_11_0_0_mes1.bin differ diff --git a/amdgpu/gc_11_0_0_pfp.bin b/amdgpu/gc_11_0_0_pfp.bin new file mode 100644 index 000000000..736ca33fb Binary files /dev/null and b/amdgpu/gc_11_0_0_pfp.bin differ diff --git a/amdgpu/gc_11_0_0_rlc.bin b/amdgpu/gc_11_0_0_rlc.bin new file mode 100644 index 000000000..b06ebc549 Binary files /dev/null and b/amdgpu/gc_11_0_0_rlc.bin differ diff --git a/amdgpu/psp_13_0_0_sos.bin b/amdgpu/psp_13_0_0_sos.bin new file mode 100644 index 000000000..76f95dd21 Binary files /dev/null and b/amdgpu/psp_13_0_0_sos.bin differ diff --git a/amdgpu/psp_13_0_0_ta.bin b/amdgpu/psp_13_0_0_ta.bin new file mode 100644 index 000000000..0df54565e Binary files /dev/null and b/amdgpu/psp_13_0_0_ta.bin differ diff --git a/amdgpu/sdma_6_0_0.bin b/amdgpu/sdma_6_0_0.bin new file mode 100644 index 000000000..1e64ca688 Binary files /dev/null and b/amdgpu/sdma_6_0_0.bin differ diff --git a/amdgpu/smu_13_0_0.bin b/amdgpu/smu_13_0_0.bin new file mode 100644 index 000000000..6501cdff9 Binary files /dev/null and b/amdgpu/smu_13_0_0.bin differ diff --git a/amdgpu/vcn_4_0_0.bin b/amdgpu/vcn_4_0_0.bin new file mode 100644 index 000000000..a46b7b830