diff options
author | 2024-04-17 15:27:01 -0400 | |
---|---|---|
committer | 2024-05-20 16:20:24 -0400 | |
commit | ccb167104a8fea3cca08d1d1d451858436a4b9c8 (patch) | |
tree | 19ce2306bd70deea94662e9dcf1bf8c1989bcecf /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | |
parent | drm/amd/display: Add NULL check within get_target_mpc_factor (diff) | |
download | linux-rng-ccb167104a8fea3cca08d1d1d451858436a4b9c8.tar.xz linux-rng-ccb167104a8fea3cca08d1d1d451858436a4b9c8.zip |
drm/amd/display: Deallocate DML 2.1 Memory Allocation
[Why]
DML 2.1 allocates two types of memory in its ctx structure but does not
destroy them, causing memory leak whenever DML 2.1 instance is created
and destroyed.
[How]
Deallocate two instances of allocated memory whenever DML 2.1 is
destroyed.
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Chris Park <chris.park@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c')
0 files changed, 0 insertions, 0 deletions