[Intel-gfx] [PATCH 0/5] drm/i915: Replace {un/reference} with {put, get} functions

Daniel Vetter daniel at ffwll.ch
Thu Jun 28 17:10:32 UTC 2018


On Mon, Jun 18, 2018 at 01:01:49PM +0200, Thomas Zimmermann wrote:
> This patch set replaces functions named {un,reference} by their
> {put,get} counterparts. Affected data types are struct drm_connector,
> struct drm_gem_object, and struct drm_device.
> 
> With the reference-counting functions being named {put,get}, the DRM
> interface is more aligned to Linux kernel nameing standard. The patch
> set does not change driver-internal interfaces.

Ok after kicking CI the spurious fail in the piglit tests is gone.
Everythign applied for 4.19, thanks a lot for your patches.
-Daniel

> 
> Thomas Zimmermann (5):
>   drm/i915: Replace drm_connector_{un/reference} with put,get functions
>   drm/i915: Replace drm_gem_object_{un/reference} with {put,get}
>     functions
>   drm/i915: Replace __drm_gem_object_unreference with
>     __drm_gem_object_put
>   drm/i915: Replace drm_gem_object_unreference_unlocked with put
>     function
>   drm/i915: Replace drm_dev_unref with drm_dev_put
> 
>  drivers/gpu/drm/i915/i915_gem_object.h             | 13 ++-----------
>  drivers/gpu/drm/i915/intel_display.c               |  4 ++--
>  drivers/gpu/drm/i915/intel_dp_mst.c                |  2 +-
>  drivers/gpu/drm/i915/selftests/huge_pages.c        |  2 +-
>  drivers/gpu/drm/i915/selftests/i915_gem_context.c  |  2 +-
>  drivers/gpu/drm/i915/selftests/i915_gem_dmabuf.c   |  2 +-
>  drivers/gpu/drm/i915/selftests/i915_gem_evict.c    |  2 +-
>  drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |  2 +-
>  drivers/gpu/drm/i915/selftests/i915_gem_object.c   |  2 +-
>  drivers/gpu/drm/i915/selftests/i915_request.c      |  2 +-
>  drivers/gpu/drm/i915/selftests/i915_vma.c          |  2 +-
>  drivers/gpu/drm/i915/selftests/intel_breadcrumbs.c |  2 +-
>  12 files changed, 14 insertions(+), 23 deletions(-)
> 
> --
> 2.14.4
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list