virtio-gpu: fix output lookup
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 27 May 2016 12:20:24 +0000 (14:20 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Jun 2016 08:33:11 +0000 (10:33 +0200)
commitd3767d49f16b619c1943ce003e1f74817414aeb0
tree2a50f6160ae1a0a525ca01bd2dde2c57d8e52e71
parentaf8c34ce6ae32addda3788d54a7e340cad22516b
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>
drivers/gpu/drm/virtio/virtgpu_plane.c