bianbu-linux-6.6/drivers/gpu/drm/amd
Leo (Sunpeng) Li 8c45c5db84 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-14 15:08:41 -05:00
..
acp drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
amdgpu drm/amdgpu: Remove some unused elements from amdgpu_connector struct 2018-03-14 15:08:40 -05:00
amdkfd drm/amdkfd: Implement KFD process eviction/restore 2018-02-06 20:32:45 -05:00
display drm/amd/display: Fix memleaks when atomic check fails. 2018-03-14 15:08:41 -05:00
include drm/amd/amdgpu: re-add missing GC 9.1 and SDMA0 4.1 sh_mask header files 2018-03-07 16:10:13 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/pp: fix missing CONFIG_ACPI. 2018-03-14 10:54:55 +10:00