[PATCH v2 0/2] a fix for connector modes leak in amdgpu driver
Fedor Pchelkin
pchelkin at ispras.ru
Tue Aug 19 18:46:33 UTC 2025
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.
v1: https://lore.kernel.org/all/20250817094346.15740-1-pchelkin@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 | 3 +++
drivers/gpu/drm/drm_connector.c | 8 +-------
drivers/gpu/drm/drm_modes.c | 15 +++++++++++++++
include/drm/drm_modes.h | 1 +
4 files changed, 20 insertions(+), 7 deletions(-)
--
2.50.1
More information about the amd-gfx
mailing list