[PATCH] drm/amdkfd: Add fw version for 10.3.6
Deucher, Alexander
Alexander.Deucher at amd.com
Tue Jun 7 14:50:15 UTC 2022
[AMD Official Use Only - General]
Does this need an update for GC 10.3.7 as well?
Alex
________________________________
From: Zhang, Jesse(Jie) <Jesse.Zhang at amd.com>
Sent: Monday, June 6, 2022 11:20 PM
To: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Limonciello, Mario <Mario.Limonciello at amd.com>; Chang, David <David.Chang at amd.com>; Kuehling, Felix <Felix.Kuehling at amd.com>
Subject: [PATCH] drm/amdkfd: Add fw version for 10.3.6
[AMD Official Use Only - General]
It will happed error on loading firmware. we need add firmware version information.
[ 309.650118] [drm] kiq ring mec 2 pipe 1 q 0
[ 309.652595] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 309.653402] kfd kfd: amdgpu: skipped device 1002:164e, PCI rejects atomics 18<92
Signed-off-by: Jesse Zhang Jesse.Zhang at amd.com<mailto:Jesse.Zhang at amd.com>
Reviewed-by: Alex Deucher alexander.deucher at amd.com<mailto:alexander.deucher at amd.com>
Reviewed-by: Mario Limonciello mario.limonciello at amd.com<mailto:mario.limonciello at amd.com>
Reviewed-by: Felix Kuehling Felix.Kuehling at amd.com<mailto:Felix.Kuehling at amd.com>
Change-Id: I9c8d70071efdfce85c860ebf19690d52fb8d2383
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
index f8635e768513..bf4200457772 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
@@ -182,7 +182,9 @@ static void kfd_device_info_init(struct kfd_dev *kfd,
if (gc_version < IP_VERSION(11, 0, 0)) {
/* Navi2x+, Navi1x+ */
- if (gc_version >= IP_VERSION(10, 3, 0))
+ if (gc_version == IP_VERSION(10, 3, 6))
+ kfd->device_info.no_atomic_fw_version = 14;
+ else if (gc_version >= IP_VERSION(10, 3, 0))
kfd->device_info.no_atomic_fw_version = 92;
else if (gc_version >= IP_VERSION(10, 1, 1))
kfd->device_info.no_atomic_fw_version = 145;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20220607/d2d9a755/attachment.htm>
More information about the amd-gfx
mailing list