[PATCH v3 0/2] a fix for connector modes leak in amdgpu driver
Fedor Pchelkin
pchelkin at ispras.ru
Wed Aug 27 15:21:03 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.
v2: https://lore.kernel.org/dri-devel/20250819184636.232641-1-pchelkin@ispras.ru/
v1: https://lore.kernel.org/dri-devel/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 | 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
More information about the amd-gfx
mailing list