staging: vboxvideo: Init fb_info.fix.smem once from fbdev_create
authorHans de Goede <hdegoede@redhat.com>
Tue, 18 Sep 2018 17:44:34 +0000 (19:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 10:32:05 +0000 (12:32 +0200)
commit0424d7ba4574ba3fcfd68c567becb5e90547e4f9
tree44fbff0587aa59af133850910dc43f0203b09ea4
parentcb5eaf187d1d996a226b95a01f7a57b9dd603bea
staging: vboxvideo: Init fb_info.fix.smem once from fbdev_create

The fbdev compat fb gets pinned into VRAM at creation and then gets pinned
a second time when set as scanout buffer and unpinned when replaced, this
means its pin count never becomes less then 1, so it is always at the same
address and there is no need for the vbox_fbdev_set_base() call.

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_fb.c
drivers/staging/vboxvideo/vbox_mode.c