drm/amdgpu/vg20:Restruct uvd.inst to support multiple instances
[muen/linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_ring.c
index 49cad08..c6850b6 100644 (file)
@@ -362,6 +362,7 @@ void amdgpu_ring_fini(struct amdgpu_ring *ring)
 
        dma_fence_put(ring->vmid_wait);
        ring->vmid_wait = NULL;
+       ring->me = 0;
 
        ring->adev->rings[ring->idx] = NULL;
 }