]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98b1022a7038beabc58c314c491c56887a068237
tree1cb7d306f3f7fc13b6ddf9547a692f3cdb23f6b2
parenteeb73508ce06d42d049661acf8b0b5679d57095c
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: 3bd384ba0a7b ("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