OSDN Git Service

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>
Mon, 14 Jan 2019 20:04:24 +0000 (15:04 -0500)
commitc6064de4b7344e705b1b4ac66fa89ea1da5760d0
tree6a8ac99b9b62f3c54f26f972e959f77c8900298a
parentd3c117e564bfbfe3c4568aca136be3880ddf4200
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