linux/drivers/gpu/drm/amd/display/dc/dce100
Jun Lei 88ed9fb77e drm/amd/display: fix memory leak in resource pools
[why]
ddc engines were recently changed to be independently tracked
from pipe count.  the change was reflected in resource constructor
but not in destructor.  this manifests as a memory leak when
pipe harvesting is enabled, since not all constructed ddc engines
are freed

[how]
make destructor symmetric with constructor for all dcX_resource

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-10-09 17:03:31 -05:00
..
dce100_hw_sequencer.c drm/amd/display: Remove unnecessary warning 2018-07-24 15:15:02 -05:00
dce100_hw_sequencer.h drm/amd/display: Re-use DCE100 display_power_gating for DCE80 2018-02-19 14:20:04 -05:00
dce100_resource.c drm/amd/display: fix memory leak in resource pools 2018-10-09 17:03:31 -05:00
dce100_resource.h drm/amdgpu: add license to files where it was missing 2017-12-04 11:48:24 -05:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-04 11:47:55 -05:00