drm/bochs: Replace drm_gem_object_unreference_unlocked with put function
Subsystems (2)
Thomas Zimmermann
maintainerPATCH v2 1/1 drm/bochs: Replace drm_gem_object_unreference_unlocked with put function
This patch unifies the naming of DRM functions for reference counting of struct drm_gem_object. The resulting code is more aligned with the rest of the Linux kernel interfaces.
v2:
* rebase onto fbdev rework
Signed-off-by Thomas Zimmermann <[email protected]>
--- drivers/gpu/drm/bochs/bochs_mm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/bochs/bochs_mm.c +2 -2
@@ -414,7 +414,7 @@ int bochs_dumb_create(struct drm_file *file, struct drm_device *dev,return ret; ret =drm_gem_handle_create (file, gobj, &handle); -drm_gem_object_unreference_unlocked (gobj); +drm_gem_object_put_unlocked (gobj);if (ret)return ret;
@@ -454,6 +454,6 @@ int bochs_dumb_mmap_offset(struct drm_file *file, struct drm_device *dev, bo =gem_to_bochs_bo (obj); *offset =bochs_bo_mmap_offset (bo); -drm_gem_object_unreference_unlocked (obj); +drm_gem_object_put_unlocked (obj);return 0 ; }
Signature · 6 lines
2.19.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Gerd Hoffmann
AppliedQuoted 3 lines · Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct
drm_gem_object. The resulting code is more aligned with the rest of the Linux kernel interfaces.
Pushed to drm-misc-next.
thanks,
Gerd
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel