aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1098-drm-amd-dal-Revert-to-generic-list-iteration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/1098-drm-amd-dal-Revert-to-generic-list-iteration.patch')
-rw-r--r--common/recipes-kernel/linux/files/1098-drm-amd-dal-Revert-to-generic-list-iteration.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/common/recipes-kernel/linux/files/1098-drm-amd-dal-Revert-to-generic-list-iteration.patch b/common/recipes-kernel/linux/files/1098-drm-amd-dal-Revert-to-generic-list-iteration.patch
deleted file mode 100644
index dbad7999..00000000
--- a/common/recipes-kernel/linux/files/1098-drm-amd-dal-Revert-to-generic-list-iteration.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From a6b0c97b89a33748c29f933457d572310f321e18 Mon Sep 17 00:00:00 2001
-From: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
-Date: Thu, 2 Jun 2016 15:51:50 -0400
-Subject: [PATCH 1098/1110] drm/amd/dal: Revert to generic list iteration.
-
-Do not break code under 4.1 kernel.
-
-Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
-Acked-by: Jordan Lazare <Jordan.Lazare@amd.com>
-Signed-off-by: Kalyan Alle <kalyan.alle@amd.com>
----
- drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
-index bfa9e75..9a87f0f 100644
---- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
-+++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
-@@ -470,7 +470,7 @@ static int dm_suspend(void *handle)
- * dm_display_resume
- */
- drm_modeset_lock_all(adev->ddev);
-- drm_for_each_crtc(crtc, adev->ddev) {
-+ list_for_each_entry(crtc, &adev->ddev->mode_config.crtc_list, head) {
- struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc);
- if (acrtc->target)
- drm_crtc_vblank_off(crtc);
-@@ -664,7 +664,7 @@ int amdgpu_dm_display_resume(struct amdgpu_device *adev )
- amdgpu_dm_irq_resume_early(adev);
-
- drm_modeset_lock_all(ddev);
-- drm_for_each_crtc(crtc, ddev) {
-+ list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
- struct amdgpu_crtc *acrtc = to_amdgpu_crtc(crtc);
- if (acrtc->target)
- drm_crtc_vblank_on(crtc);
---
-2.7.4
-