Merge tag 'drm-misc-next-2020-06-19' of git://anongit.freedesktop.org/drm/drm-misc...
[linux-2.6-microblaze.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_cs.c
index 1907022..a25fb59 100644 (file)
@@ -57,7 +57,7 @@ static int amdgpu_cs_user_fence_chunk(struct amdgpu_cs_parser *p,
        /* One for TTM and one for the CS job */
        p->uf_entry.tv.num_shared = 2;
 
-       drm_gem_object_put_unlocked(gobj);
+       drm_gem_object_put(gobj);
 
        size = amdgpu_bo_size(bo);
        if (size != PAGE_SIZE || (data->offset + 8) > size) {