diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-03-09 11:16:08 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-23 14:48:32 -0400 |
| commit | 37c2caa167b0b8aca4f74c32404c5288b876a2a3 (patch) | |
| tree | 156073897d59fc57bf3d037f9e01f6bef7888979 /include/linux/tc_act/git@git.tavy.me:linux.git | |
| parent | 14b81abe7bdc25f8097906fc2f91276ffedb2d26 (diff) | |
drm/amd/display: Fix drm_edid leak in amdgpu_dm
[WHAT]
When a sink is connected, aconnector->drm_edid was overwritten without
freeing the previous allocation, causing a memory leak on resume.
[HOW]
Free the previous drm_edid before updating it.
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 52024a94e7111366141cfc5d888b2ef011f879e5)
Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/tc_act/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
