diff options
Diffstat (limited to 'drivers/gpu/drm/drm_framebuffer.c')
-rw-r--r-- | drivers/gpu/drm/drm_framebuffer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_framebuffer.c b/drivers/gpu/drm/drm_framebuffer.c index 49fd7db758e0..af786f27f72e 100644 --- a/drivers/gpu/drm/drm_framebuffer.c +++ b/drivers/gpu/drm/drm_framebuffer.c | |||
@@ -673,6 +673,11 @@ EXPORT_SYMBOL(drm_framebuffer_lookup); | |||
673 | * those used for fbdev. Note that the caller must hold a reference of it's own, | 673 | * those used for fbdev. Note that the caller must hold a reference of it's own, |
674 | * i.e. the object may not be destroyed through this call (since it'll lead to a | 674 | * i.e. the object may not be destroyed through this call (since it'll lead to a |
675 | * locking inversion). | 675 | * locking inversion). |
676 | * | ||
677 | * NOTE: This function is deprecated. For driver-private framebuffers it is not | ||
678 | * recommended to embed a framebuffer struct info fbdev struct, instead, a | ||
679 | * framebuffer pointer is preferred and drm_framebuffer_unreference() should be | ||
680 | * called when the framebuffer is to be cleaned up. | ||
676 | */ | 681 | */ |
677 | void drm_framebuffer_unregister_private(struct drm_framebuffer *fb) | 682 | void drm_framebuffer_unregister_private(struct drm_framebuffer *fb) |
678 | { | 683 | { |