linux-stable/drivers/gpu/drm/vkms
Rodrigo Siqueira 2ead1be54b drm/vkms: Fix connector leak at the module removal
Currently, vkms shows an error message if the following steps occur: (1)
load vkms, (2) perform any specific operation in the vkms (e.g., run an
IGT test), and (3) unload the module. The following error message
emerges:

[drm:drm_mode_config_cleanup [drm]] *ERROR* connector Virtual-1 leaked!

This commit fixes this error by calling drm_atomic_helper_shutdown()
before drm_mode_config_cleanup, which turns off the whole display
pipeline and remove a reference related to any connector.

Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180719004045.hzepp565x5lfco3c@smtp.gmail.com
2018-07-28 16:09:39 -03:00
..
Makefile drm/vkms: Add dumb operations 2018-07-12 08:47:44 +02:00
vkms_crtc.c drm/vkms: Add vblank events simulated by hrtimers 2018-07-12 08:48:48 +02:00
vkms_drv.c drm/vkms: Fix connector leak at the module removal 2018-07-28 16:09:39 -03:00
vkms_drv.h drm/vkms: Add vblank events simulated by hrtimers 2018-07-12 08:48:48 +02:00
vkms_gem.c drm/vkms: Add dumb operations 2018-07-12 08:47:44 +02:00
vkms_output.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
vkms_plane.c drm/vkms: Add framebuffer and plane helpers 2018-07-12 16:24:05 +02:00