staging: vboxvideo: Move pin / unpin of fb out of vbox_crtc_set_base_and_mode
authorHans de Goede <hdegoede@redhat.com>
Tue, 18 Sep 2018 17:44:35 +0000 (19:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 10:32:05 +0000 (12:32 +0200)
commit0fdda2ce74e5fe2d9ff813895fcf0f716be66290
treeb86b16db3a3662fb3ba522ff11a2bc9fe5430f6b
parent0424d7ba4574ba3fcfd68c567becb5e90547e4f9
staging: vboxvideo: Move pin / unpin of fb out of vbox_crtc_set_base_and_mode

Move pin / unpin of fb out of vbox_crtc_set_base_and_mode() so that it can
be used to implement the atomic_update drm_plane_helper_func for the primary
plane.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vboxvideo/vbox_drv.h
drivers/staging/vboxvideo/vbox_mode.c
drivers/staging/vboxvideo/vbox_ttm.c