drm/amdgpu: fix sdma v4 startup under SRIOV
authorChristian König <christian.koenig@amd.com>
Wed, 26 Sep 2018 17:56:41 +0000 (19:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:20:53 +0000 (14:20 -0500)
commit51235849d99556fe9929735625d134b3b6acbf4a
treeb436927a4ebbc90c9357cbb9811b343e6e55b5d3
parent105f20706fb5df8b763e3d9a9bfbfa73386391c3
drm/amdgpu: fix sdma v4 startup under SRIOV

Under SRIOV we were enabling the ring buffer before it was initialized.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c