OSDN Git Service

staging: vboxvideo: Pass a new framebuffer to vbox_crtc_do_set_base
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 20 Jul 2018 17:17:30 +0000 (10:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 07:28:58 +0000 (09:28 +0200)
commitba67f54d911c3da6fc284b4a9cf30ca1a27591e6
treea4d139c907b2eb6a18b09f1974271fcabd49f594
parent548b9f03f007ae654055644cff844b2b4fd2b5d2
staging: vboxvideo: Pass a new framebuffer to vbox_crtc_do_set_base

This modifies vbox_crtc_do_set_base() to take a new framebuffer to
be activated, instead of the existing framebuffer attached to the crtc.
This change allows the function to be given the new framebuffer from
a page-flip request.

Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vboxvideo/vbox_mode.c