Re: [PATCH 1/9] drm: replace "drm_gem_object_unreference_unlocked" function with "*put_unlocked"

From: Linus Walleij
Date: Sat Nov 24 2018 - 15:38:33 EST


On Thu, Nov 15, 2018 at 11:17 PM Fernando Ramos <greenfoo@xxxxxxxxxxxxxx> wrote:

> This patch unifies the naming of DRM functions for reference counting as
> requested on Documentation/gpu/todo.rst
>
> Signed-off-by: Fernando Ramos <greenfoo@xxxxxxxxxxxxxx>

This is already fixed in drm-misc-next as it happens:

commit a0d4d42cb5854400baa47bf63d9aae65fa9f484e
Author: Thomas Zimmermann <tzimmermann@xxxxxxx>
Date: Wed Sep 26 13:36:23 2018 +0200

drm/bochs: Replace drm_commit a0d4d42cb5854400baa47bf63d9aae65fa9f484e
Author: Thomas Zimmermann <tzimmermann@xxxxxxx>
Date: Wed Sep 26 13:36:23 2018 +0200

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 <tzimmermann@xxxxxxx>
Link: http://patchwork.freedesktop.org/patch/msgid/20180926113623.22679-1-tzimmermann@xxxxxxx
Signed-off-by: Gerd Hoffmann <kraxel@xxxxxxxxxx>
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 <tzimmermann@xxxxxxx>
Link: http://patchwork.freedesktop.org/patch/msgid/20180926113623.22679-1-tzimmermann@xxxxxxx
Signed-off-by: Gerd Hoffmann <kraxel@xxxxxxxxxx>

Going on to try and apply the rest.

Yours,
Linus Walleij