diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2022-01-24 13:50:49 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-01-25 18:00:36 -0500 |
commit | f2bde8349c35d01d7c50456ea06a5c7d5e0e5ed0 (patch) | |
tree | 02abc1ea4e0644e7a56b86c547e4c832e93f12ab /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | |
parent | b5d9a483685c37a480420cfe2d41a03d529bc0a5 (diff) | |
download | linux-f2bde8349c35d01d7c50456ea06a5c7d5e0e5ed0.tar.bz2 |
drm/amd/display: Call dc_stream_release for remove link enc assignment
[Why]
A porting error resulted in the stream assignment for the link
being retained without being released - a memory leak.
[How]
Fix the porting error by adding back the dc_stream_release() intended
as part of the original patch.
Fixes: 0bb245558584 ("drm/amd/display: retain/release at proper places in link_enc assignment")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c')
0 files changed, 0 insertions, 0 deletions