drm/amdgpu/vce3: don't forget to tear down some rings
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 25 Sep 2016 20:34:49 +0000 (23:34 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Sep 2016 17:00:52 +0000 (13:00 -0400)
commit4cd00d37559badddb9e55851bb07c398ec3607ae
tree194c16c5831fb01348d9dbd42703814c179fc551
parent44f9d7b3f1096ec5c90b2396f600f385f4bf4a00
drm/amdgpu/vce3: don't forget to tear down some rings

We can use .num_rings for that.

Fixes: 6f0359ff7307 ("vce3: add support for third vce ring")
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c