virtio-gpu: fix output lookup
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 30 May 2016 12:03:26 +0000 (14:03 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 31 May 2016 07:30:37 +0000 (09:30 +0200)
commitd1e372c4fbdf7de7270bd47a427872dd95973aa6
tree5edf2077362202e77619db058f04123015294059
parent0645de5a4c22638170f6e0bb31a0b1c9f52daf93
virtio-gpu: fix output lookup

Needed for multihead setups where we can have disabled
outputs and therefore plane->crtc can be NULL.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1464609806-22013-1-git-send-email-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_plane.c