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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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@xxxxxxx

 

    Reviewed-by: Alex Deucher alexander.deucher@xxxxxxx

 

    Reviewed-by: Mario Limonciello mario.limonciello@xxxxxxx

 

    Reviewed-by: Felix Kuehling Felix.Kuehling@xxxxxxx

    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;

 

 


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux