]> 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)
commit093ef6445d881af4efdb936026feec72f0b806a7
tree5be573e53b5dfc634f72bc7fd1da768b87e8fd11
parent0d90504faf1ab7a6e7bda1c15c4016ab8a0ebeaf
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