diff options
| author | Jun Lei <[email protected]> | 2018-09-18 13:38:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-10-09 22:03:31 +0000 |
| commit | 88ed9fb77ef420cf2e4ec1624f3e638685e28c8d (patch) | |
| tree | 665f61f7b38c329eb0102d06156c7db5937190d7 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/amd/display: dc 3.1.68 (diff) | |
| download | kernel-88ed9fb77ef420cf2e4ec1624f3e638685e28c8d.tar.gz kernel-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 <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
