drm/fbdev-shmem: Clean up deferred I/O
Subsystems (2)
Thomas Zimmermann
maintainerPATCH 1/1 drm/fbdev-shmem: Clean up deferred I/O
Call fb_deferred_io_cleanup() upon destroying the framebuffer device. Releases the internal memory.
Signed-off-by Thomas Zimmermann <[email protected]>
Fixes 150f431a0831 ("drm/fbdev: Add fbdev-shmem")
Cc Thomas Zimmermann <[email protected]>
Cc Javier Martinez Canillas <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
--- drivers/gpu/drm/drm_fbdev_shmem.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_fbdev_shmem.c +1 -0
@@ -60,6 +60,7 @@ static void drm_fbdev_shmem_fb_destroy(struct fb_info *info)if (!fb_helper->dev)return ; +fb_deferred_io_cleanup (info);drm_fb_helper_fini (fb_helper);drm_client_buffer_vunmap (fb_helper->buffer);
Signature · 1 line
2.44.0
Thomas Zimmermann <[email protected]> writes:
Hello Thomas,
Quoted 12 lines
Call
fb_deferred_io_cleanup()upon destroying the framebuffer device. Releases the internal memory.Signed-off-by Thomas Zimmermann <[email protected]>Fixes 150f431a0831 ("drm/fbdev: Add fbdev-shmem")Cc Thomas Zimmermann <[email protected]>Cc Javier Martinez Canillas <[email protected]>Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>
Quoted 1 line
---
Reviewed-by Javier Martinez Canillas <[email protected]>
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat