Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 140c94da authored by Grazvydas Ignotas's avatar Grazvydas Ignotas Committed by Alex Deucher
Browse files

drm/amdgpu/dce11: add missing drm_mode_config_cleanup call



All other amdgpu/dce_v* files have this call, it's only mysteriously
missing from dce_v11_0.c since the file was added and causes leaks.

Fixes: aaa36a97 ("drm/amdgpu: Add initial VI support")
Signed-off-by: default avatarGrazvydas Ignotas <notasas@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 8a2eef1d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3159,6 +3159,7 @@ static int dce_v11_0_sw_fini(void *handle)

	dce_v11_0_afmt_fini(adev);

	drm_mode_config_cleanup(adev->ddev);
	adev->mode_info.mode_config_initialized = false;

	return 0;