aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_framebuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm_framebuffer.h')
-rw-r--r--include/drm/drm_framebuffer.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/drm/drm_framebuffer.h b/include/drm/drm_framebuffer.h
index c50502c656e5..c94acedfb08e 100644
--- a/include/drm/drm_framebuffer.h
+++ b/include/drm/drm_framebuffer.h
@@ -241,30 +241,6 @@ static inline void drm_framebuffer_put(struct drm_framebuffer *fb)
241} 241}
242 242
243/** 243/**
244 * drm_framebuffer_reference - acquire a framebuffer reference
245 * @fb: DRM framebuffer
246 *
247 * This is a compatibility alias for drm_framebuffer_get() and should not be
248 * used by new code.
249 */
250static inline void drm_framebuffer_reference(struct drm_framebuffer *fb)
251{
252 drm_framebuffer_get(fb);
253}
254
255/**
256 * drm_framebuffer_unreference - release a framebuffer reference
257 * @fb: DRM framebuffer
258 *
259 * This is a compatibility alias for drm_framebuffer_put() and should not be
260 * used by new code.
261 */
262static inline void drm_framebuffer_unreference(struct drm_framebuffer *fb)
263{
264 drm_framebuffer_put(fb);
265}
266
267/**
268 * drm_framebuffer_read_refcount - read the framebuffer reference count. 244 * drm_framebuffer_read_refcount - read the framebuffer reference count.
269 * @fb: framebuffer 245 * @fb: framebuffer
270 * 246 *