]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: track virtual output state
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 13 Aug 2018 15:28:55 +0000 (17:28 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Sep 2018 06:26:24 +0000 (08:26 +0200)
commit7b686193e80d5e870db9bca2f510b06a2cc89143
tree5be573e53b5dfc634f72bc7fd1da768b87e8fd11
parent7809379a81ff224da1da6ac74be51165aa96e78c
drm/virtio: track virtual output state

Track whenever an virtual output (crtc) is enabled or disabled.

On atomic updates check for both framebuffer being present and crtc
being enabled to figure whenever the output is active or not.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180813152855.12863-1-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_display.c
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_plane.c