drm/amdgpu: workaround tonga HW bug in HQD programming sequence
authorAndres Rodriguez <andresx7@gmail.com>
Sat, 25 Feb 2017 01:50:20 +0000 (20:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 May 2017 20:49:00 +0000 (16:49 -0400)
commitecd910eb1f091dd25f4a737a3bc50c0c8892eac7
treeddb1e1f3b922391c6a7c572a09fad4cf24dbdfac
parent894700f3b7e01e87954a94be6508205c7f024386
drm/amdgpu: workaround tonga HW bug in HQD programming sequence

Tonga based asics may experience hangs when an HQD's EOP parameters
are modified.

Workaround this HW issue by avoiding writes to these registers for
tonga asics.

Based on the following ROCm commit:
2a0fb8 - drm/amdgpu: Synchronize KFD HQD load protocol with CP scheduler

From the ROCm git repository:
https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver.git

CC: Jay Cornwall <Jay.Cornwall@amd.com>
Suggested-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c