drm/amdgpu: modify sdma start sequence
authorMonk Liu <Monk.Liu@amd.com>
Wed, 25 May 2016 08:57:14 +0000 (16:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jun 2016 14:48:59 +0000 (10:48 -0400)
commit505dfe76cd3203bb2dcf13d862f46b7f0e95869a
tree74855ea477abd5aae81d5e667ac19b39ec0e4d97
parentd72f7c0685870aa7efda0a06f8ca160a94905031
drm/amdgpu: modify sdma start sequence

should fist halt engine, and then doing the register
programing, and later unhalt engine, and finally run
ring_test.

this help fix reloading driver hang issue of SDMA
ring

original sequence is wrong for it programing engine
after unhalt, which will lead to fault behavior when
doing driver reloading after unloaded.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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/cik_sdma.c
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
This page took 0.040414 seconds and 5 git commands to generate.