drm/amdgpu: clear RB at ring init
authorMonk Liu <Monk.Liu@amd.com>
Wed, 1 Jun 2016 21:37:21 +0000 (17:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:50:37 +0000 (14:50 -0400)
commitcc7d8c79792e626546ef7ef7086882b2c83b89e1
tree14c85e16bd3c991011eec8b3a19c15fdbe6914bb
parent5dd0775e502b26b44e5bcb5f504a977a565f2f3e
drm/amdgpu: clear RB at ring init

This help fix reloading driver hang issue of SDMA
ring.

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/amdgpu_ring.c