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>
Thu, 22 Oct 2020 03:06:07 +0000 (23:06 -0400)
commitd56b1980d7efe9ef08469e856fc0703d0cef65e4
treeb1bc76e88e4782806a1fd65275b72dd4b862c988
parenta6c42e8431657487b48fe5f57378517e16eef404
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c