diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0596-drm-amd-dal-find-proper-connector-in-reset-case.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0596-drm-amd-dal-find-proper-connector-in-reset-case.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/common/recipes-kernel/linux/files/0596-drm-amd-dal-find-proper-connector-in-reset-case.patch b/common/recipes-kernel/linux/files/0596-drm-amd-dal-find-proper-connector-in-reset-case.patch deleted file mode 100644 index 41c738e6..00000000 --- a/common/recipes-kernel/linux/files/0596-drm-amd-dal-find-proper-connector-in-reset-case.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 52b28a87980253648b092fa584ae9be4e67ecead Mon Sep 17 00:00:00 2001 -From: Mykola Lysenko <Mykola.Lysenko@amd.com> -Date: Wed, 9 Dec 2015 20:03:01 +0800 -Subject: [PATCH 0596/1110] drm/amd/dal: find proper connector in reset case - -Find connector on reset properly, and allow reset mode occur for -MST connector. - -It also remove warning messages seen previously - -Signed-off-by: Harry Wentland <harry.wentland@amd.com> -Acked-by: Harry Wentland<harry.wentland@amd.com> ---- - drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c -index 6dc7ead..9f467eb 100644 ---- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c -+++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c -@@ -2115,6 +2115,16 @@ int amdgpu_dm_atomic_commit( - aconnector = to_amdgpu_connector(connector); - break; - } -+ -+ /* -+ * this is the case when reset occur, connector is -+ * removed from new crtc state. We need to update -+ * connector state anyway. Access it from old_con_state -+ */ -+ if (old_con_state->crtc == crtc) { -+ aconnector = to_amdgpu_connector(connector); -+ break; -+ } - } - - /* handles headless hotplug case, updating new_state and --- -2.7.4 - |