Skip to content

Commit c004486

Browse files
Prike Liangalexdeucher
authored andcommitted
drm/amdkfd: correct the MEC atomic support firmware checking for GC 10.3.7
On the GC 10.3.7 platform the initial MEC release version #3 can support atomic operation,so need correct and set its MEC atomic support version to #3. Signed-off-by: Prike Liang <[email protected]> Reviewed-by: Aaron Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] # 5.18.x
1 parent acea108 commit c004486

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/amdkfd/kfd_device.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ static void kfd_device_info_init(struct kfd_dev *kfd,
184184
/* Navi2x+, Navi1x+ */
185185
if (gc_version == IP_VERSION(10, 3, 6))
186186
kfd->device_info.no_atomic_fw_version = 14;
187+
else if (gc_version == IP_VERSION(10, 3, 7))
188+
kfd->device_info.no_atomic_fw_version = 3;
187189
else if (gc_version >= IP_VERSION(10, 3, 0))
188190
kfd->device_info.no_atomic_fw_version = 92;
189191
else if (gc_version >= IP_VERSION(10, 1, 1))

0 commit comments

Comments
 (0)