[AMD Official Use Only - General]
Does this need an update for GC 10.3.7 as well?
Alex
From: Zhang, Jesse(Jie) <Jesse.Zhang@xxxxxxx>
Sent: Monday, June 6, 2022 11:20 PM To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx <amd-gfx@xxxxxxxxxxxxxxxxxxxxx> Cc: Deucher, Alexander <Alexander.Deucher@xxxxxxx>; Limonciello, Mario <Mario.Limonciello@xxxxxxx>; Chang, David <David.Chang@xxxxxxx>; Kuehling, Felix <Felix.Kuehling@xxxxxxx> 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@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;
|