linux/drivers/gpu/drm/amd/display
Victor Lu 8e92bb0fa7 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>
2021-02-02 17:45:01 -05:00
..
amdgpu_dm drm/amd/display: Decrement refcount of dc_sink before reassignment 2021-02-02 17:45:01 -05:00
dc drm/amd/display: Add more Clock Sources to DCN2.1 2021-02-02 17:41:01 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.47 2020-12-23 15:02:37 -05:00
include drm/amd/display: Add internal display info 2020-11-24 12:08:15 -05:00
modules drm/amd/display: gradually ramp ABM intensity 2020-12-23 15:01:47 -05:00
Kconfig drm/amdgpu/display: drop DCN support for aarch64 2021-01-06 16:24:10 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO