[PATCH 0/2] drm/atmel-hlcdc: fix memory bugs

From: Ludovic Desroches
Date: Fri Oct 24 2025 - 12:17:32 EST


These two patches fix a memory leak and a use after free bugs.

The memory leak bug had been reported by several users. There were some
attempts to fix it in the past, but the resolutions proposed caused
other breakages.

Signed-off-by: Ludovic Desroches <ludovic.desroches@xxxxxxxxxxxxx>
---
Ludovic Desroches (2):
drm/atmel-hlcdc: fix memory leak from the atomic_destroy_state callback
drm/atmel-hlcdc: fix use-after-free of drm_crtc_commit after release

drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
base-commit: 72fb0170ef1f45addf726319c52a0562b6913707
change-id: 20251024-lcd_fixes_mainlining-a1234d81a768

Best regards,
--
Ludovic Desroches <ludovic.desroches@xxxxxxxxxxxxx>