Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: aaa36a976bbb ("drm/amdgpu: Add initial VI support")
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org

authored by

Grazvydas Ignotas and committed by
Alex Deucher
140c94da 8a2eef1d

+1
+1
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
··· 3159 3159 3160 3160 dce_v11_0_afmt_fini(adev); 3161 3161 3162 + drm_mode_config_cleanup(adev->ddev); 3162 3163 adev->mode_info.mode_config_initialized = false; 3163 3164 3164 3165 return 0;