drm/amdgpu/gfx_v8_0: Reorder the gfx, kiq and kcq rings test sequence
authorTiecheng Zhou <Tiecheng.Zhou@amd.com>
Mon, 24 Dec 2018 00:55:45 +0000 (08:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Jan 2019 20:24:48 +0000 (15:24 -0500)
commite49cddcd0ab08f2a3bf3fea8554ea45ae1446d26
treef0ee1702a3e5eebff78d473d4b205783f0135814
parentb8cf66182eddb22e9c7539821ed6eecdb4f86d1a
drm/amdgpu/gfx_v8_0: Reorder the gfx, kiq and kcq rings test sequence

The kiq ring and the very first compute ring may fail occasionally
if they are tested directly following kiq_kcq_enable.

Insert the gfx ring test before kiq ring test to delay the kiq and kcq
ring tests will fix the issue.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Tiecheng Zhou <Tiecheng.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c