]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mode: move framebuffer reference into object.
authorDave Airlie <airlied@redhat.com>
Fri, 15 Apr 2016 05:10:36 +0000 (15:10 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 22 Apr 2016 00:34:28 +0000 (10:34 +1000)
commitcfe9e42cad856bd04f072e575ba67f5717e06148
treef2dc3655e89c07c096d5a4fd36efcff04109c3bf
parentae273f4bb90054efd4090f7f83c7cde23d33439d
drm/mode: move framebuffer reference into object.

This is the initial code to add references to some mode objects.
In the future we need to start reference counting connectors so
firstly I want to reorganise the code so the framebuffer ref counting
uses the same paths.

This patch shouldn't change any functionality, just moves the kref.

[airlied: move kerneldoc as well]
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h