linux/drivers/gpu/drm/amd/display/amdgpu_dm
Stylon Wang a135a1b4c4 drm/amd/display: Fix memory leaks in S3 resume
EDID parsing in S3 resume pushes new display modes
to probed_modes list but doesn't consolidate to actual
mode list. This creates a race condition when
amdgpu_dm_connector_ddc_get_modes() re-initializes the
list head without walking the list and results in  memory leak.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=209987
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2020-12-23 15:03:15 -05:00
..
amdgpu_dm.c drm/amd/display: Fix memory leaks in S3 resume 2020-12-23 15:03:15 -05:00
amdgpu_dm.h drm/amdgpu/disply: fix documentation warnings in display manager 2020-12-16 13:27:17 -05:00
amdgpu_dm_color.c drm/amd/display/amdgpu_dm/amdgpu_dm_color: Demote a misuse and fix another kernel-doc header 2020-12-01 16:04:45 -05:00
amdgpu_dm_crc.c drm/amd/display: Fix to be able to stop crc calculation 2020-12-15 11:33:55 -05:00
amdgpu_dm_crc.h drm/amd/display: Expose new CRC window property 2020-11-16 12:19:44 -05:00
amdgpu_dm_debugfs.c drm/amd/display: Engage PSR synchronously 2020-11-10 14:24:55 -05:00
amdgpu_dm_debugfs.h
amdgpu_dm_hdcp.c drm/amd/display: fix return value check for hdcp_work 2020-09-25 16:53:32 -04:00
amdgpu_dm_hdcp.h
amdgpu_dm_helpers.c drm/amd/display/amdgpu_dm/amdgpu_dm_helpers: Use 'gnu_printf' format notation 2020-12-01 16:04:46 -05:00
amdgpu_dm_irq.c drm/amd/display: handler not correctly checked at remove_irq_handler 2020-12-23 15:01:18 -05:00
amdgpu_dm_irq.h
amdgpu_dm_irq_params.h drm/amd/display: Refactor to prevent crtc state access in DM IRQ handler 2020-09-15 17:52:39 -04:00
amdgpu_dm_mst_types.c Merge tag 'amd-drm-next-5.11-2020-11-05' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-11-10 17:48:47 +10:00
amdgpu_dm_mst_types.h drm/amdgpu/display: create fake mst encoders ahead of time (v4) 2020-07-14 15:11:07 -04:00
amdgpu_dm_pp_smu.c drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu: Remove unused function 'pp_nv_set_pme_wa_enable()' 2020-12-01 16:04:45 -05:00
amdgpu_dm_services.c drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
amdgpu_dm_trace.h drm/amd/display: Add tracepoint for capturing clocks state 2020-10-26 13:34:26 -04:00
Makefile