]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/amdgpu/gfx8: Fix compute ring failure after resetting"
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 24 Jan 2018 13:52:26 +0000 (08:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:12 +0000 (14:19 -0500)
commit2932624ab5817f042aa41fcd1b5b3f286f011d46
treea7357dac3a282684e892cd5931cf75bf4f6674db
parentca2c4633650b41832a5710c2b81e63e097067da5
Revert "drm/amdgpu/gfx8: Fix compute ring failure after resetting"

This reverts commit 1b8a8a72cf3452a83ac6e51b59767c41461cec3b.

Fixes compute rings test failure on bare metal during full GPU reset.

RCA:
the ring buffer has to be filled with valid packets (such as NOPs) first
before submitting MAP_QUEUEs packet into KIQ. Once a compute engine is mapped,
it will immediately execute the ring buffer if the RTPR is not equal to the
WTPR from the MQD. It could lead to engine hang if the ring buffer filled
with random data.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c