Hi Dave!
I'm debugging virtio gpu unloading path in kernel 4.14, and found some bug that presents even in 4.18.
In file drivers/gpu/drm/virtio/virtgpu_display.c:
This virtio_gpu_output pointer in this function points to a memory NOT allocated by k*alloc, but to an element of
outputs array in struct virtio device.
You can find the actual code that initialize connector few lines lower:
Can you confirm that bug?
With best regards,
Damir Shaikhutdinov
Senior Software Engineer
OpenSynergy GmbH
Rotherstr. 20, 10245 Berlin
Phone: +49 30 60 98 54 0.
Fax: +49 30 60 98 54 0 -99
EMail: damir.shaikhutdinov@opensynergy.com
www.opensynergy.com
Handelsregister/Commercial Registry: Amtsgericht Charlottenburg, HRB 108616B
Geschäftsführung: Stefaan Sonck Thiebaut, Rolf Morich