[PATCH] drm/rockchip: cleanup fb when drm_gem_fb_afbc_init failed
Heiko Stuebner
heiko at sntech.de
Mon May 19 20:31:45 UTC 2025
On Fri, 09 May 2025 11:15:59 +0800, Andy Yan wrote:
> In the function drm_gem_fb_init_with_funcs, the framebuffer (fb)
> and its corresponding object ID have already been registered.
>
> So we need to cleanup the drm framebuffer if the subsequent
> execution of drm_gem_fb_afbc_init fails.
>
> Directly call drm_framebuffer_put to ensure that all fb related
> resources are cleanup.
>
> [...]
Applied, thanks!
[1/1] drm/rockchip: cleanup fb when drm_gem_fb_afbc_init failed
commit: 099593a28138b48feea5be8ce700e5bc4565e31d
Best regards,
--
Heiko Stuebner <heiko at sntech.de>
More information about the dri-devel
mailing list