virtio-gpu: add atomic_commit function
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 31 May 2016 06:50:47 +0000 (08:50 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Jun 2016 08:33:12 +0000 (10:33 +0200)
commite7cf0963f816fa44190caaf51aeffaa614c340c6
treec3cd394a59ecd254f0b4f01cf4dc5e9177cbaddf
parentd3767d49f16b619c1943ce003e1f74817414aeb0
virtio-gpu: add atomic_commit function

Do modesets first, then call drm_atomic_helper_commit_planes with
active_only = true.  That way the outputs doesn't get disabled
temporarly on atomic commits.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_display.c
drivers/gpu/drm/virtio/virtgpu_drv.h