diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0022-drm-amd-display-drop-resume-stop_mc_access.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0022-drm-amd-display-drop-resume-stop_mc_access.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0022-drm-amd-display-drop-resume-stop_mc_access.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0022-drm-amd-display-drop-resume-stop_mc_access.patch new file mode 100644 index 00000000..1ba09c38 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0022-drm-amd-display-drop-resume-stop_mc_access.patch @@ -0,0 +1,59 @@ +From 79bc959c095c14c40aae28ef20f5ff9a9a31f6e1 Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +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 <alexander.deucher@amd.com> +--- + 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 <linux/module.h> +@@ -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 + |