OSDN Git Service

drm/virtio: move drm_connector_update_edid_property() call
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Apr 2019 04:46:02 +0000 (06:46 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 26 Jun 2019 09:05:05 +0000 (11:05 +0200)
commit41de4be6f6efa4132b29af51158cd672d93f2543
tree1cb7d306f3f7fc13b6ddf9547a692f3cdb23f6b2
parent5eab9cf87b6c261f4e2f6c7623171cc2f5ea1a9c
drm/virtio: move drm_connector_update_edid_property() call

drm_connector_update_edid_property can sleep, we must not
call it while holding a spinlock.  Move the callsite.

Fixes: b4b01b4995fb ("drm/virtio: add edid support")
Reported-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190405044602.2334-1-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_vq.c