linux/drivers/gpu/drm/amd/display/dc/dce112
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
..
dce112_compressor.c drm/amd/display: define DC_LOGGER for logger 2018-03-05 15:35:13 -05:00
dce112_compressor.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce112_hw_sequencer.c amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce112_hw_sequencer.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce112_resource.c drm/amd/display: fix memory leak in resource pools 2018-10-09 17:03:31 -05:00
dce112_resource.h drm/amd/display: drop dc_validate_guaranteed 2018-04-11 13:07:40 -05:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-04 11:47:55 -05:00