]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:52:30 +0000 (09:52 +0200)
commit9455763a49212f3463dbeadeb7a1059b9a2d1fdd
tree6d556d26f49a564fb0580d13d7ad0a89a4a0438d
parentf728b21e2468d0742af2b9ced60088fe91bd981d
drm/virtio: move drm_connector_update_edid_property() call

commit 41de4be6f6efa4132b29af51158cd672d93f2543 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/virtio/virtgpu_vq.c