From 79bc959c095c14c40aae28ef20f5ff9a9a31f6e1 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Thu, 15 Jun 2017 16:05:17 -0400 Subject: [PATCH 0022/4131] drm/amd/display: drop resume/stop_mc_access No longer used. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index fb108d7..571ac8f 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -36,12 +36,6 @@ #include "amdgpu_dm_irq.h" #include "dm_helpers.h" -#ifdef CONFIG_DRM_AMDGPU_CIK -#include "dce_v8_0.h" -#endif -#include "dce_v10_0.h" -#include "dce_v11_0.h" - #include "ivsrcid/ivsrcid_vislands30.h" #include @@ -1414,8 +1408,6 @@ static const struct amdgpu_display_funcs dm_dce_v8_0_display_funcs = { dm_crtc_get_scanoutpos,/* called unconditionally */ .add_encoder = NULL, /* VBIOS parsing. DAL does it. */ .add_connector = NULL, /* VBIOS parsing. DAL does it. */ - .stop_mc_access = dce_v8_0_stop_mc_access, /* called unconditionally */ - .resume_mc_access = dce_v8_0_resume_mc_access, /* called unconditionally */ .notify_freesync = amdgpu_notify_freesync, }; #endif @@ -1436,8 +1428,6 @@ static const struct amdgpu_display_funcs dm_dce_v10_0_display_funcs = { dm_crtc_get_scanoutpos,/* called unconditionally */ .add_encoder = NULL, /* VBIOS parsing. DAL does it. */ .add_connector = NULL, /* VBIOS parsing. DAL does it. */ - .stop_mc_access = dce_v10_0_stop_mc_access, /* called unconditionally */ - .resume_mc_access = dce_v10_0_resume_mc_access, /* called unconditionally */ .notify_freesync = amdgpu_notify_freesync, }; @@ -1458,8 +1448,6 @@ static const struct amdgpu_display_funcs dm_dce_v11_0_display_funcs = { dm_crtc_get_scanoutpos,/* called unconditionally */ .add_encoder = NULL, /* VBIOS parsing. DAL does it. */ .add_connector = NULL, /* VBIOS parsing. DAL does it. */ - .stop_mc_access = dce_v11_0_stop_mc_access, /* called unconditionally */ - .resume_mc_access = dce_v11_0_resume_mc_access, /* called unconditionally */ .notify_freesync = amdgpu_notify_freesync, }; -- 2.7.4