]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Use same SQ prefetch setting as amdgpu
authorJay Cornwall <jay.cornwall@amd.com>
Sat, 17 Oct 2020 13:38:43 +0000 (08:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Oct 2020 20:14:06 +0000 (16:14 -0400)
commitaeeb56dd0fffe18966006152ca7a3d87c22b1f24
tree8c44c65f8214e257c6f70726d8b90ccf72134128
parent7fa10255a3caaf0493d03f11dffd6323a54cb23c
drm/amdkfd: Use same SQ prefetch setting as amdgpu

0 causes instruction fetch stall at cache line boundary under some
conditions on Navi10. A non-zero prefetch is the preferred default
in any case.

Fixes soft hang in Luxmark.

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c