linux_dsm_epyc7002/drivers/gpu/drm/amd/display
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 drm/amd/display: Fix memleaks when atomic check fails. 2018-03-07 16:28:22 -05:00
dc drm/amd/display: Return success when enabling interrupt 2018-03-07 16:28:15 -05:00
include drm/amd/display: Move MAX_TMDS_CLOCK define to header 2018-03-07 16:27:14 -05:00
modules drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
Kconfig drm/amd/display: make FBC configurable option 2017-10-21 16:46:05 -04:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
TODO drm/amd/display: Add TODO item to remove vector.c 2017-12-14 11:01:13 -05:00