Skip to content
Commit 3c6b8625 authored by Sam Bobroff's avatar Sam Bobroff Committed by Gerd Hoffmann
Browse files

drm/bochs: Fix connector leak during driver unload



When unloading the bochs-drm driver, a warning message is printed by
drm_mode_config_cleanup() because a reference is still held to one of
the drm_connector structs.

Correct this by calling drm_atomic_helper_shutdown() in
bochs_pci_remove().

Fixes: 6579c395 ("drm/bochs: atomic: switch planes to atomic, wire up helpers.")
Signed-off-by: default avatarSam Bobroff <sbobroff@linux.ibm.com>
Link: http://patchwork.freedesktop.org/patch/msgid/93b363ad62f4938d9ddf3e05b2a61e3f66b2dcd3.1558416473.git.sbobroff@linux.ibm.com


Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 201bd433
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment