diff options
author | Victor Lu <victorchengchi.lu@amd.com> | 2021-01-15 19:02:48 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-02 20:12:02 +0300 |
commit | c64b0d6bb5d0d40e399e11a3cab02f0f7759bf9f (patch) | |
tree | 835624007019c7ec5272d0bfa1972eee86134a56 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 2dc39051a7ba4d909992e5526ef2f0ad4e1b4770 (diff) | |
download | linux-c64b0d6bb5d0d40e399e11a3cab02f0f7759bf9f.tar.xz |
drm/amd/display: Decrement refcount of dc_sink before reassignment
[why]
An old dc_sink state is causing a memory leak because it is missing a
dc_sink_release before a new dc_sink is assigned back to
aconnector->dc_sink.
[how]
Decrement the dc_sink refcount before reassigning it to a new dc_sink.
Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions