The first patch is a prerequisite exporting a convenient helper at include/drm/modes.h used in the second one fixing a leak in amdgpu driver.
v2: https://lore.kernel.org/dri-devel/20250819184636.232641-1-pchel...@ispras.ru/ v1: https://lore.kernel.org/dri-devel/20250817094346.15740-1-pchel...@ispras.ru/ Fedor Pchelkin (2): drm/modes: export drm_mode_remove() helper drm/amd/display: fix leak of probed modes drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 6 +++++- drivers/gpu/drm/drm_connector.c | 8 +------- drivers/gpu/drm/drm_modes.c | 15 +++++++++++++++ include/drm/drm_modes.h | 1 + 4 files changed, 22 insertions(+), 8 deletions(-) -- 2.50.1