OSDN Git Service

staging: vboxvideo: Add page-flip support
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 20 Jul 2018 17:17:31 +0000 (10:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 07:28:58 +0000 (09:28 +0200)
commit2408898e3b6c99b3ec792760989e57026cd9909d
tree2e21fe8cae37b7ce8c319439044bfb960f7f8c2c
parentba67f54d911c3da6fc284b4a9cf30ca1a27591e6
staging: vboxvideo: Add page-flip support

Adds crtc page-flip support by passing the new requested framebuffer
to vbox_crtc_do_set_base().

Note there is no attempt to support vblank interrupts, it's not
not known how to do this in VBOX or if it is even possible. Since
this page-flip implementation does not try to sync the page-flip
to vertical blanking, tearing effects are possible.

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