]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0e37b5822f1e41667e21f9dca895c7b4e314714
treec3cd394a59ecd254f0b4f01cf4dc5e9177cbaddf
parent5dcaeb95bf421c564b7ad16ec29a779ed7c2b552
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