linux/drivers/gpu/drm/amd/display/amdgpu_dm
Leo (Sunpeng) Li 9fe8f03bc0 drm/amd/display: Fix memleaks when atomic check fails.
While checking plane states for updates during atomic check, we create
dc_plane_states in preparation. These dc states should be freed if
something errors.

Although the input transfer function is also freed by
dc_plane_state_release(), we should free it (on error) under the same
scope as where it is created.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-03-07 16:28:22 -05:00
..
amdgpu_dm_helpers.c
amdgpu_dm_irq.c drm/amd/display: Set irq state only on existing crtcs 2018-03-07 16:27:43 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Fix topology change issue in MST rehook 2018-03-07 16:27:03 -05:00
amdgpu_dm_mst_types.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
amdgpu_dm_services.c drm/amd/display: performance profiling instrumentation 2017-12-06 12:48:08 -05:00
amdgpu_dm.c drm/amd/display: Fix memleaks when atomic check fails. 2018-03-07 16:28:22 -05:00
amdgpu_dm.h drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00