drm/amdgpu: Remove in_interrupt() usage in gfx_v9_0_kiq_read_clock()
[linux-2.6-microblaze.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_vce.c
index 0d5284b..ea6a62f 100644 (file)
@@ -1160,6 +1160,6 @@ int amdgpu_vce_ring_test_ib(struct amdgpu_ring *ring, long timeout)
 error:
        dma_fence_put(fence);
        amdgpu_bo_unreserve(bo);
-       amdgpu_bo_unref(&bo);
+       amdgpu_bo_free_kernel(&bo, NULL, NULL);
        return r;
 }