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)
commitd0f37cf62979e65558c1b7bd4d4c221c5281bae1
treef2dc3655e89c07c096d5a4fd36efcff04109c3bf
parent747a598ffa7dff499ee93d414b74a08af6ec657e
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