summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2016-10-03 00:06:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-10-06 12:39:03 -0400
commit140c94da3c3338c0ff4cc127cf9bec87905ca83c (patch)
treefed35db11162890e83ca70eb22593070a8781330 /drivers/gpu/drm/amd
parent8a2eef1dbc85273c57d6f2cf73e5d7c97b1a25f4 (diff)
downloadlinux-stable-140c94da3c3338c0ff4cc127cf9bec87905ca83c.tar.gz
linux-stable-140c94da3c3338c0ff4cc127cf9bec87905ca83c.tar.bz2
linux-stable-140c94da3c3338c0ff4cc127cf9bec87905ca83c.zip
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
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_v11_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
index 678f5eb6cbc2..f264b8f17ad1 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
@@ -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;