Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdkfd: add Navi2x to GWS init conditions

Initalize GWS on Navi2x with mec2_fw_version >= 0x42.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Reviewed-and-tested-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Graham Sider and committed by
Alex Deucher
48733b22 613aa3ea

+4 -1
+4 -1
drivers/gpu/drm/amd/amdkfd/kfd_device.c
··· 368 368 (KFD_GC_VERSION(kfd) == IP_VERSION(9, 4, 1) 369 369 && kfd->mec2_fw_version >= 0x30) || 370 370 (KFD_GC_VERSION(kfd) == IP_VERSION(9, 4, 2) 371 - && kfd->mec2_fw_version >= 0x28)))) 371 + && kfd->mec2_fw_version >= 0x28) || 372 + (KFD_GC_VERSION(kfd) >= IP_VERSION(10, 3, 0) 373 + && KFD_GC_VERSION(kfd) <= IP_VERSION(10, 3, 5) 374 + && kfd->mec2_fw_version >= 0x42)))) 372 375 ret = amdgpu_amdkfd_alloc_gws(kfd->adev, 373 376 kfd->adev->gds.gws_size, &kfd->gws); 374 377