diff options
author | Chris Park <chris.park@amd.com> | 2024-04-17 15:27:01 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-20 16:20:24 -0400 |
commit | ccb167104a8fea3cca08d1d1d451858436a4b9c8 (patch) | |
tree | 19ce2306bd70deea94662e9dcf1bf8c1989bcecf /drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c | |
parent | c6bce984b8917b4a2fba17b5f19f1b44cf69d736 (diff) |
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/amdgpu/amdgpu_hmm.c')
0 files changed, 0 insertions, 0 deletions