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)
commit9a81009eda196f2a389f764556f167dda1d4f5fe
tree8c44c65f8214e257c6f70726d8b90ccf72134128
parent7aeef2aacccd002c22cf00cf00c5fa2a2dbcf2a1
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