[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 [email protected]<mailto:[email protected]>

    Reviewed-by: Alex Deucher 
[email protected]<mailto:[email protected]>

    Reviewed-by: Mario Limonciello 
[email protected]<mailto:[email protected]>

    Reviewed-by: Felix Kuehling 
[email protected]<mailto:[email protected]>
    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;


Reply via email to