Re: [PATCH 3/9] drm: replace "drm_dev_unref" function with "drm_dev_put"

2018-11-16 Thread Fernando
On Fri, Nov 16, 2018, at 11:15 AM, Lucas Stach wrote: > Am Donnerstag, den 15.11.2018, 23:16 +0100 schrieb Fernando Ramos: > > This patch unifies the naming of DRM functions for reference counting as > > requested on Documentation/gpu/todo.rst > > > > >

[PATCH 7/9] drm: remove deprecated "drm_framebuffer_[un]reference" functions

2018-11-15 Thread Fernando Ramos
There are no more places where this (deprecated) function is being used from, thus it can now be removed. Signed-off-by: Fernando Ramos --- include/drm/drm_framebuffer.h | 24 1 file changed, 24 deletions(-) diff --git a/include/drm/drm_framebuffer.h b/include/drm

[PATCH 9/9] docs: drm: remove no longer relevant TODO entry

2018-11-15 Thread Fernando Ramos
This entry asked to rename all drm core "*_reference/_unrefence" functions to "*_get/_put". Now that this task is complete, we can remove this entry from the TODO list. Signed-off-by: Fernando Ramos --- Documentation/gpu/todo.rst | 17 - 1 file changed, 1

[PATCH 8/9] drm: remove no longer needed drm-get-put coccinelle script

2018-11-15 Thread Fernando Ramos
The coccinelle script was used to rename some (deprecated) functions which no longer exist now. Signed-off-by: Fernando Ramos --- scripts/coccinelle/api/drm-get-put.cocci | 78 1 file changed, 78 deletions(-) delete mode 100644 scripts/coccinelle/api/drm-get-put.cocci

[PATCH 3/9] drm: replace "drm_dev_unref" function with "drm_dev_put"

2018-11-15 Thread Fernando Ramos
This patch unifies the naming of DRM functions for reference counting as requested on Documentation/gpu/todo.rst Signed-off-by: Fernando Ramos --- drivers/gpu/drm/arc/arcpgu_drv.c | 4 ++-- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 ++-- drivers/gpu/drm/etnaviv/etnaviv_drv.c

[PATCH 5/9] drm: replace "drm_connector_unreference" with "drm_connector_put"

2018-11-15 Thread Fernando Ramos
This patch unifies the naming of DRM functions for reference counting as requested on Documentation/gpu/todo.rst Signed-off-by: Fernando Ramos --- drivers/gpu/drm/bridge/tc358764.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/tc358764.c b/drivers

[PATCH 6/9] drm: remove deprecated "drm_connector_[un]reference" functions

2018-11-15 Thread Fernando Ramos
There are no more places where this (deprecated) function is being used from, thus it can now be removed. Signed-off-by: Fernando Ramos --- include/drm/drm_connector.h | 24 1 file changed, 24 deletions(-) diff --git a/include/drm/drm_connector.h b/include/drm

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

2018-11-15 Thread Fernando Ramos
This patch unifies the naming of DRM functions for reference counting as requested on Documentation/gpu/todo.rst Signed-off-by: Fernando Ramos --- drivers/gpu/drm/bochs/bochs_mm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_mm.c b/drivers

[PATCH 4/9] drm: remove deprecated "drm_dev_unref" function

2018-11-15 Thread Fernando Ramos
There are no more places where this (deprecated) function is being used from, thus it can now be removed. Signed-off-by: Fernando Ramos --- drivers/gpu/drm/drm_drv.c | 13 - include/drm/drm_drv.h | 1 - 2 files changed, 14 deletions(-) diff --git a/drivers/gpu/drm/drm_drv.c b

[PATCH 0/9] drm: remove deprecated functions

2018-11-15 Thread Fernando Ramos
something wrong. Please let me know :) Fernando Ramos (9): drm: replace "drm_gem_object_unreference_unlocked" function with "*put_unlocked" drm: remove deprecated "[__]drm_gem_object_[un]reference[_locked]" functions drm: replace "drm_dev_unref" function

[PATCH 2/9] drm: remove deprecated "[__]drm_gem_object_[un]reference[_locked]" functions

2018-11-15 Thread Fernando Ramos
There are no more places where these (deprecated) functions are being used from, thus they can now be removed. Signed-off-by: Fernando Ramos --- include/drm/drm_gem.h | 50 --- 1 file changed, 50 deletions(-) diff --git a/include/drm/drm_gem.h b/include