[PATCH] drm/amdkfd: Add fw version for 10.3.6

Zhang, Jesse(Jie) Jesse.Zhang at amd.com
Tue Jun 7 03:20:07 UTC 2022


[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/4e8ab74f/attachment.htm>


More information about the amd-gfx mailing list