[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174768669421.2818279.4158433368328822949.b4-ty@sntech.de>
Date: Mon, 19 May 2025 22:31:45 +0200
From: Heiko Stuebner <heiko@...ech.de>
To: Andy Yan <andyshrk@....com>
Cc: Heiko Stuebner <heiko@...ech.de>,
andrzej.p@...labora.com,
hjc@...k-chips.com,
dri-devel@...ts.freedesktop.org,
tzimmermann@...e.de,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org,
Andy Yan <andy.yan@...k-chips.com>
Subject: Re: [PATCH] drm/rockchip: cleanup fb when drm_gem_fb_afbc_init failed
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@...ech.de>
Powered by blists - more mailing lists