summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-04-24 14:25:18 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2026-05-04 15:54:44 +0300
commit8acd2d7e0889ac62bc102bd7b648cd7bee04f902 (patch)
tree829cb722faabda7762ddcba624b0fc23239ef4f6 /include
parent84d5d76c4e8e2750fa17869b7272f189d2bdd40b (diff)
downloadlinux-8acd2d7e0889ac62bc102bd7b648cd7bee04f902.tar.xz
drm/qxl: Fix missing KMS poll cleanup
drm_kms_helper_poll_init() initializes the output polling work and enables polling for the DRM device. qxl enables polling before calling drm_dev_register(), but the drm_dev_register() failure path tears down the modeset and device state without disabling the polling helper. The remove path also unregisters and shuts down the DRM device without first disabling the polling helper. Add matching drm_kms_helper_poll_fini() calls in both paths so the delayed polling work is cancelled before qxl tears down the associated modeset/device state. Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Fixes: 5ff91e442652 ("qxl: use drm helper hotplug support") Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260424112543.57819-1-mhun512@gmail.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions