WSL2-Linux-Kernel/drivers/staging
Hans de Goede 65aac17423 staging: vboxvideo: Change address of scanout buffer on page-flip
Commit 2408898e3b ("staging: vboxvideo: Add page-flip support") only
calls vbox_crtc_do_set_base() on page-flips, but despite that function's
name it only pins the new fb, unpins the old fb and sets
vbox_crtc->fb_offset. It does not program the hardware to scan out at the
new vbox_crtc->fb_offset value.

This was causing only every other frame (assuming page-flipping between 2
buffers) to be shown since we kept scanning out of the old (now unpinned!)
buffer.

This commit fixes this by adding code to vbox_crtc_page_flip() to tell
the hardware to scanout from the new fb_offset.

Fixes: 2408898e3b ("staging: vboxvideo: Add page-flip support")
Cc: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-11 18:39:54 +02:00
..
android Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
axis-fifo
board
clocking-wizard
comedi
dgnc
emxx_udc
erofs staging: erofs: rename superblock flags (MS_xyz -> SB_xyz) 2018-09-10 10:12:21 +02:00
fbtft staging/fbtft: Update TODO and mailing lists 2018-09-10 10:39:19 +02:00
fsl-dpaa2 ARM: SoC driver updates 2018-08-23 13:52:46 -07:00
fwserial
gasket staging: gasket: TODO: re-implement using UIO 2018-09-10 18:08:06 +02:00
gdm724x
goldfish
greybus
gs_fpgaboot
iio
ks7010
media media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
most Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
mt29f_spinand
mt7621-dma
mt7621-dts
mt7621-eth
mt7621-mmc
mt7621-pci
mt7621-pinctrl
mt7621-spi
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
rtl8188eu Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
rtl8192e
rtl8192u
rtl8712 Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
rtl8723bs Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
rtlwifi Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
rts5208
sm750fb
speakup
unisys
vboxvideo staging: vboxvideo: Change address of scanout buffer on page-flip 2018-09-11 18:39:54 +02:00
vc04_services Staging/IIO patches for 4.19-rc1 2018-08-18 11:00:00 -07:00
vme
vt6655
vt6656
wilc1000 staging: wilc1000: revert "fix TODO to compile spi and sdio components in single module" 2018-08-27 19:12:59 +02:00
wlan-ng
xgifb
Kconfig ARM: SoC driver updates 2018-08-23 13:52:46 -07:00
Makefile ARM: SoC driver updates 2018-08-23 13:52:46 -07:00