linux/drivers/gpu/drm/qxl
Myeonghun Pak 8acd2d7e08 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: 5ff91e4426 ("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
2026-05-04 14:54:44 +02:00
..
Kconfig PCI: Add CONFIG_MMU dependency 2025-04-23 15:40:30 -05:00
Makefile
qxl_cmd.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
qxl_debugfs.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
qxl_dev.h
qxl_display.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
qxl_draw.c
qxl_drv.c drm/qxl: Fix missing KMS poll cleanup 2026-05-04 14:54:44 +02:00
qxl_drv.h drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
qxl_dumb.c
qxl_gem.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
qxl_image.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
qxl_ioctl.c Merge branch 'nocache-cleanup' 2026-04-13 08:39:51 -07:00
qxl_irq.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
qxl_kms.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
qxl_object.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
qxl_object.h drm/qxl: Pin buffer objects for internal mappings 2024-07-10 09:12:42 +02:00
qxl_prime.c drm/gem: Acquire reservation lock in drm_gem_{pin/unpin}() 2024-03-11 13:33:50 +01:00
qxl_release.c dma-buf: inline spinlock for fence protection v5 2026-02-23 16:14:19 +01:00
qxl_ttm.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00