aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0411-drm-amd-display-Fix-race.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0411-drm-amd-display-Fix-race.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0411-drm-amd-display-Fix-race.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0411-drm-amd-display-Fix-race.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0411-drm-amd-display-Fix-race.patch
deleted file mode 100644
index f6c4afc5..00000000
--- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0411-drm-amd-display-Fix-race.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From f64a2500a88d1ce8a257b26c07b809ef5c3cb4f6 Mon Sep 17 00:00:00 2001
-From: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
-Date: Fri, 5 May 2017 11:30:06 -0400
-Subject: [PATCH 0411/4131] drm/amd/display: Fix race.
-
-Problem :
-A race between two adjecent page flips makes the earlier one
-to release an alocated frame buffer for the subsequent one -
-since there are 2 frambuffer swapped back and forth between flips,
-the 'new' fb of the later flip is actually the 'previous' fb for the earlier flip.
-Fix:
-Don't set fb->address = 0 in cleanup hook, this is unnecessery and
-erases the newly cached adress that was set in prepare_fb of the second
-flip.
-
-Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
-Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
-Acked-by: Harry Wentland <Harry.Wentland@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c
-index a5218b6..00cc385 100644
---- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c
-+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c
-@@ -1793,9 +1793,7 @@ static void dm_plane_helper_cleanup_fb(
- amdgpu_bo_unpin(rbo);
- amdgpu_bo_unreserve(rbo);
- amdgpu_bo_unref(&rbo);
-- }
--
-- afb->address = 0;
-+ };
- }
-
- int dm_create_validation_set_for_connector(struct drm_connector *connector,
---
-2.7.4
-