]> 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)
commit3ace6eb71482db52a989af34dc3c016a5ebb2c70
treec3cd394a59ecd254f0b4f01cf4dc5e9177cbaddf
parenta54dd6f185925e477ccef6b3c127d74648d5f000
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