summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/gpu/drm/udl
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/gpu/drm/udl')
-rw-r--r--kernel/drivers/gpu/drm/udl/udl_fb.c2
-rw-r--r--kernel/drivers/gpu/drm/udl/udl_gem.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/gpu/drm/udl/udl_fb.c b/kernel/drivers/gpu/drm/udl/udl_fb.c
index 62c7b1daf..73e41a861 100644
--- a/kernel/drivers/gpu/drm/udl/udl_fb.c
+++ b/kernel/drivers/gpu/drm/udl/udl_fb.c
@@ -539,7 +539,7 @@ static int udlfb_create(struct drm_fb_helper *helper,
out_destroy_fbi:
drm_fb_helper_release_fbi(helper);
out_gfree:
- drm_gem_object_unreference(&ufbdev->ufb.obj->base);
+ drm_gem_object_unreference_unlocked(&ufbdev->ufb.obj->base);
out:
return ret;
}
diff --git a/kernel/drivers/gpu/drm/udl/udl_gem.c b/kernel/drivers/gpu/drm/udl/udl_gem.c
index 2a0a784ab..d7528e0d8 100644
--- a/kernel/drivers/gpu/drm/udl/udl_gem.c
+++ b/kernel/drivers/gpu/drm/udl/udl_gem.c
@@ -52,7 +52,7 @@ udl_gem_create(struct drm_file *file,
return ret;
}
- drm_gem_object_unreference(&obj->base);
+ drm_gem_object_unreference_unlocked(&obj->base);
*handle_p = handle;
return 0;
}