aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
diff options
context:
space:
mode:
authorJun Lei <Jun.Lei@amd.com>2018-09-18 09:38:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-10-09 17:03:31 -0500
commit88ed9fb77ef420cf2e4ec1624f3e638685e28c8d (patch)
tree665f61f7b38c329eb0102d06156c7db5937190d7 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
parentdrm/amd/display: dc 3.1.68 (diff)
downloadlinux-88ed9fb77ef420cf2e4ec1624f3e638685e28c8d.tar.gz
linux-88ed9fb77ef420cf2e4ec1624f3e638685e28c8d.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c')
0 files changed, 0 insertions, 0 deletions