linux/drivers/staging/vboxvideo
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
..
hgsmi_base.c
hgsmi_ch_setup.h
hgsmi_channels.h
hgsmi_defs.h
Kconfig
Makefile
modesetting.c
TODO staging: vboxvideo: Update driver to use drm_dev_register. 2018-06-17 09:05:13 +02:00
vbox_drv.c staging: vboxvideo: Fix IRQs no longer working 2018-09-11 18:39:54 +02:00
vbox_drv.h staging: vboxvideo: Update driver to use drm_dev_register. 2018-06-17 09:05:13 +02:00
vbox_err.h
vbox_fb.c vboxvideo: Fix incorrect type in assignment sparse warning 2018-01-08 16:03:45 +01:00
vbox_hgsmi.c
vbox_irq.c
vbox_main.c staging: vboxvideo: Update driver to use drm_dev_register. 2018-06-17 09:05:13 +02:00
vbox_mode.c staging: vboxvideo: Change address of scanout buffer on page-flip 2018-09-11 18:39:54 +02:00
vbox_prime.c
vbox_ttm.c drm/ttm: add bo as parameter to the ttm_tt_create callback 2018-03-14 14:38:27 -05:00
vboxvideo_guest.h
vboxvideo_vbe.h
vboxvideo.h
vbva_base.c