drm: Introduce drm_framebuffer_assign()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Nov 2016 15:32:30 +0000 (15:32 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 29 Nov 2016 09:22:08 +0000 (10:22 +0100)
commit389f78b361fcdc52a9dbb5382c3922d80b52ed9f
treeb0d3804f2c02c83be798b028be5aec0a48d8ed59
parentb2383fa3592061cda53b1650bf538b1d82add816
drm: Introduce drm_framebuffer_assign()

In a couple of places currently, and with the intent to add more, we
update a pointer to a framebuffer to hold a new fb reference (evicting
the old).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161125153231.13255-2-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_atomic.c
include/drm/drm_framebuffer.h