mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
a4a69da06b
For consistency with other reference counting APIs in the kernel, add drm_framebuffer_get() and drm_framebuffer_put() to reference count DRM framebuffers. 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-5-thierry.reding@gmail.com |
||
---|---|---|
.. | ||
alloc | ||
debugfs | ||
d_find_alias.cocci | ||
drm-get-put.cocci | ||
err_cast.cocci | ||
kstrdup.cocci | ||
memdup.cocci | ||
memdup_user.cocci | ||
platform_no_drv_owner.cocci | ||
pm_runtime.cocci | ||
ptr_ret.cocci | ||
resource_size.cocci | ||
setup_timer.cocci | ||
simple_open.cocci | ||
vma_pages.cocci |