drm/atomic: add a drm_atomic_clean_old_fb helper.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 11 Nov 2015 10:29:09 +0000 (11:29 +0100)
committerJani Nikula <jani.nikula@intel.com>
Tue, 17 Nov 2015 11:02:14 +0000 (13:02 +0200)
commit0f45c26fc302c02b0576db37d4849baa53a2bb41
treee7936d72433cb9d6c783572e4e07fae39bce14e0
parent4572372847680ee04f184df916d5cf007c94ff7e
drm/atomic: add a drm_atomic_clean_old_fb helper.

This is useful for all the boilerplate code about cleaning old_fb.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1447237751-9663-4-git-send-email-maarten.lankhorst@ubuntu.com
drivers/gpu/drm/drm_atomic.c
include/drm/drm_atomic.h