Re: [PATCH] drm/rockchip: cleanup fb when drm_gem_fb_afbc_init failed

From: Heiko Stuebner
Date: Mon May 19 2025 - 16:32:25 EST



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@xxxxxxxxx>