Re: [PATCH] drm/fbdev-dma: Only cleanup deferred I/O if necessary

2024-10-07 Thread Linus Walleij
On Sun, Oct 6, 2024 at 7:49 PM Janne Grunau wrote: > Commit 5a498d4d06d6 ("drm/fbdev-dma: Only install deferred I/O if > necessary") initializes deferred I/O only if it is used. > drm_fbdev_dma_fb_destroy() however calls fb_deferred_io_cleanup() > unconditionally with struct fb_info.fbdefio == NU

Re: [PATCH] drm/fbdev-dma: Only cleanup deferred I/O if necessary

2024-10-07 Thread Thomas Zimmermann
Am 06.10.24 um 19:49 schrieb Janne Grunau: Commit 5a498d4d06d6 ("drm/fbdev-dma: Only install deferred I/O if necessary") initializes deferred I/O only if it is used. drm_fbdev_dma_fb_destroy() however calls fb_deferred_io_cleanup() unconditionally with struct fb_info.fbdefio == NULL. KASAN wit

[PATCH] drm/fbdev-dma: Only cleanup deferred I/O if necessary

2024-10-06 Thread Janne Grunau
Commit 5a498d4d06d6 ("drm/fbdev-dma: Only install deferred I/O if necessary") initializes deferred I/O only if it is used. drm_fbdev_dma_fb_destroy() however calls fb_deferred_io_cleanup() unconditionally with struct fb_info.fbdefio == NULL. KASAN with the out-of-tree Apple silicon display driver p