bochs: add page_flip
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 19 Nov 2014 11:28:12 +0000 (12:28 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Nov 2014 01:27:31 +0000 (11:27 +1000)
commit3ce733b909764a3ee17b35d7a2c940fd0bc45d5b
tree5e3c27767a8e6adc1e48349dd0ba1e1c786183c5
parent49b70a31c166a6da12f60ec85da608c064555406
bochs: add page_flip

Implement crtc page_flip callback for bochsdrm.  The qemu stdvga has no
vblank signaling, so we have to fake it.  We do so by instantly calling
drm_send_vblank_event.  Tested with kmscon.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/bochs/bochs_kms.c