staging: vboxvideo: Atomic phase 2: Stop using plane->fb and crtc->*
authorHans de Goede <hdegoede@redhat.com>
Sat, 29 Sep 2018 12:18:18 +0000 (14:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Sep 2018 12:31:32 +0000 (05:31 -0700)
commit32f2ed7ea7fc7b33c9ff13c3bbbfe1723ffc6462
tree127fc5a66c1ac707b75c027034b02991a6b0a1b1
parent67e2f0c80d8597f7a6f4322ede77432ad93ceb68
staging: vboxvideo: Atomic phase 2: Stop using plane->fb and crtc->*

Once we are fully atomic plane->fb will always be NULL and we also
should not access things like crtc->enabled and crt->[hw]mode.

Now that we've wired up the state object handlers, we always have a
plane_state and crtc_state so change the code referencing plane->fb and
crtc->* to use the data from the plane_state and crt_state instead.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vboxvideo/vbox_drv.h
drivers/staging/vboxvideo/vbox_main.c
drivers/staging/vboxvideo/vbox_mode.c