Skip to contentSkip to conversation

drm/fbdev-dma: Clean up deferred I/O

PATCH In review Thomas Zimmermann 2 participants 3 messages May 7, 2024 – May 15, 2024

Subsystems (2)
lore
Share & tools
lore

Thomas Zimmermann

author maintainer
#0 lore raw

PATCH 1/1 drm/fbdev-dma: Clean up deferred I/O

Call fb_deferred_io_cleanup() upon destroying the framebuffer device. Releases the internal memory.

Fixes 808a40b69468 ("drm/fbdev-dma: Implement damage handling and deferred I/O")
Cc Thomas Zimmermann <[email protected]>
Cc Javier Martinez Canillas <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
---
 drivers/gpu/drm/drm_fbdev_dma.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_fbdev_dma.c +1 -0
index 5eeb5164e9e2b..97ef6300d47e0 100644
@@ -59,6 +59,7 @@ static void drm_fbdev_dma_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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Thomas Zimmermann

Call fb_deferred_io_cleanup() upon destroying the framebuffer device. Releases the internal memory.

Fixes 808a40b69468 ("drm/fbdev-dma: Implement damage handling and deferred I/O")
Cc Thomas Zimmermann <[email protected]>
Cc Javier Martinez Canillas <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Quoted 3 lines
---
 drivers/gpu/drm/drm_fbdev_dma.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 5 lines
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat
author maintainer
#2 lore raw

Am 15.05.24 um 13:59 schrieb Javier Martinez Canillas:

Quoted 14 lines
Quoted 9 lines · Thomas Zimmermann

Call fb_deferred_io_cleanup() upon destroying the framebuffer device. Releases the internal memory.

Fixes 808a40b69468 ("drm/fbdev-dma: Implement damage handling and deferred I/O")
Cc Thomas Zimmermann <[email protected]>
Cc Javier Martinez Canillas <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Quoted 3 lines
---
  drivers/gpu/drm/drm_fbdev_dma.c | 1 +
  1 file changed, 1 insertion(+)
Quoted 1 line

Thanks a lot. I've pushed this patch and the other one to drm-misc-next.

Quoted 1 line
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)