]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/cik: stop the sdma engines in the enable() function
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Mar 2014 19:26:34 +0000 (15:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Mar 2014 19:53:25 +0000 (15:53 -0400)
commit5339bf45c5d358987275cee340966a52adf40c49
tree06f5516db539f64beea31aba45d3f9694fc0b21c
parent32eabc92bba57f7b08ee59c2c1a682d6f155c2b8
drm/radeon/cik: stop the sdma engines in the enable() function

We always stop the rings when disabling the engines so just
call the stop functions directly from the sdma enable function.
This way the rings' status is set correctly on suspend so
there are no problems on resume.  Fixes resume failures that
result in acceleration getting disabled.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/cik_sdma.c