[Intel-gfx] [PATCH 0/5] drm/i915: Replace {un/reference} with {put, get} functions
Thomas Zimmermann
tdz at users.sourceforge.net
Mon Jun 18 11:01:49 UTC 2018
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.
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
More information about the Intel-gfx
mailing list