linux/drivers/staging/vboxvideo
Hans de Goede 2fab6e7542 staging: vboxvideo: Temporarily remove page_flip support
drm_mode_page_flip_ioctl() cannot deal with the in between phase of
the transitioning to atomic modeset support. Once we start using
drm_helper_crtc_mode_set(), we start setting plane->state on the primary
plane. But we are not fully atomic yet so then set both plane-state->fb
and plane->fb.

If both plane-state->fb and plane->fb are set drm_mode_page_flip_ioctl()
gets confused and stops calling drm_framebuffer_get() on the new fb while
still calling drm_framebuffer_put() on the old fb.

The current page_flip implementation expects drm_mode_page_flip_ioctl()
to take care of both and once we switch to drm_atomic_helper_page_flip()
that will expect neither to be done, taking care of both itself.

So for the transition we need to remove page_flip support and then after
the transition is complete and we set DRIVER_ATOMIC in our driver_features,
we can start using drm_atomic_helper_page_flip().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-29 05:31:32 -07:00
..
hgsmi_base.c
hgsmi_ch_setup.h
hgsmi_channels.h
hgsmi_defs.h
Kconfig staging: vboxvideo: select DRM_TTM 2017-08-18 15:57:15 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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: Fold vbox_drm_resume() into vbox_pm_resume() 2018-09-20 12:32:05 +02:00
vbox_drv.h staging: vboxvideo: Add vbox_bo_k[un]map helper functions 2018-09-20 12:32:05 +02:00
vbox_err.h
vbox_fb.c staging: vboxvideo: Add vbox_bo_k[un]map helper functions 2018-09-20 12:32:05 +02:00
vbox_hgsmi.c
vbox_irq.c staging: vboxvideo: Embed drm_device into driver structure 2018-09-20 12:32:05 +02:00
vbox_main.c staging: vboxvideo: Embed drm_device into driver structure 2018-09-20 12:32:05 +02:00
vbox_mode.c staging: vboxvideo: Temporarily remove page_flip support 2018-09-29 05:31:32 -07:00
vbox_prime.c
vbox_ttm.c staging: vboxvideo: Add vbox_bo_k[un]map helper functions 2018-09-20 12:32:05 +02:00
vboxvideo_guest.h
vboxvideo_vbe.h
vboxvideo.h
vbva_base.c