Re: [PATCH] drm/rockchip: dw_hdmi: cleanup drm encoder during unbind

From: Heiko Stuebner
Date: Wed Mar 22 2023 - 19:25:12 EST


On Thu, 16 Mar 2023 17:51:26 -0700, Toby Chen wrote:
> This fixes a use-after-free crash during rmmod.
>
> The DRM encoder is embedded inside the larger rockchip_hdmi,
> which is allocated with the component. The component memory
> gets freed before the main drm device is destroyed. Fix it
> by running encoder cleanup before tearing down its container.
>
> [...]

Applied, thanks!

[1/1] drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
commit: b5af48eedcb53491c02ded55d5991e03d6da6dbf

Best regards,
--
Heiko Stuebner <heiko@xxxxxxxxx>