linux/Documentation/gpu
Thierry Reding e6b62714e8 drm: Introduce drm_gem_object_{get,put}()
For consistency with other reference counting APIs in the kernel, add
drm_gem_object_get() and drm_gem_object_put(), as well as an unlocked
variant of the latter, to reference count GEM buffer objects.

Compatibility aliases are added to keep existing code working. To help
speed up the transition, all the instances of the old functions in the
DRM core are already replaced in this commit.

The existing semantic patch for the DRM subsystem-wide conversion is
extended to account for these new helpers.

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170228144643.5668-6-thierry.reding@gmail.com
2017-02-28 16:16:43 +01:00
..
conf.py doc-rst: build PDF of 80211 and gpu sub-project 2016-10-26 17:25:17 -06:00
drm-internals.rst drm/print: Move kerneldoc next to definition 2016-11-15 12:55:24 +01:00
drm-kms-helpers.rst drm/atomic: Unconfuse the old_state mess in commmit_tail 2016-11-22 11:11:57 +01:00
drm-kms.rst drm: Update kerneldoc for drm_crtc.[hc] 2017-01-25 16:36:23 +01:00
drm-mm.rst drm: Introduce drm_gem_object_{get,put}() 2017-02-28 16:16:43 +01:00
drm-uapi.rst drm/docs: Small cleanup in drm-uapi.rst 2016-12-30 12:53:33 +01:00
i915.rst drm/i915: Update kerneldoc for intel_dpll_mgr.c 2016-12-30 09:32:31 +02:00
index.rst Merge airlied/drm-next into drm-misc-next 2017-02-26 21:34:42 +01:00
introduction.rst drm/doc: Add TODO list 2017-02-07 20:00:27 +01:00
kms-properties.csv drm: Remove dirty property from docs 2016-09-22 00:04:03 -07:00
tinydrm.rst drm/tinydrm: Add MIPI DBI support 2017-02-18 18:04:59 +01:00
todo.rst drm/doc: Capture TODO for deferred fbdev setup 2017-02-28 13:07:23 +01:00
vga-switcheroo.rst drm/doc: Fix vga_switcheroo xref 2016-08-24 13:11:08 +02:00
vgaarbiter.rst vgaarbiter: rst-ifiy and polish kerneldoc 2016-08-16 18:49:56 +02:00