drm/atomic-helper: Export framebuffer_changed()
authorJohn Keeping <john@metanate.com>
Tue, 19 Jan 2016 10:46:58 +0000 (10:46 +0000)
committerMark Yao <mark.yao@rock-chips.com>
Wed, 20 Jan 2016 00:55:43 +0000 (08:55 +0800)
commitc240906d36653944d5c049df7ce667a7e8bea6ac
treec1ffb141c43b18a9c925f6e88ee5a1e296ac43ed
parent484bb6c969523aa547d854bb57104339ee4aa800
drm/atomic-helper: Export framebuffer_changed()

The Rockchip driver cannot use drm_atomic_helper_wait_for_vblanks()
because it has hardware counters for neither vblanks nor scanlines.

In order to simplify re-implementing the functionality for this driver,
export the framebuffer_changed() helper so it can be reused.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_atomic_helper.h