aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3843-drm-amd-radeon-Drop-drm_vblank_cleanup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3843-drm-amd-radeon-Drop-drm_vblank_cleanup.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3843-drm-amd-radeon-Drop-drm_vblank_cleanup.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3843-drm-amd-radeon-Drop-drm_vblank_cleanup.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3843-drm-amd-radeon-Drop-drm_vblank_cleanup.patch
new file mode 100644
index 00000000..f72db286
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3843-drm-amd-radeon-Drop-drm_vblank_cleanup.patch
@@ -0,0 +1,37 @@
+From aa9c68946788b94caf2bc5abbb1db966314c2837 Mon Sep 17 00:00:00 2001
+From: Daniel Vetter <daniel.vetter@ffwll.ch>
+Date: Wed, 21 Jun 2017 10:28:38 +0200
+Subject: [PATCH 3843/4131] drm/amd|radeon: Drop drm_vblank_cleanup
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Both drivers shut down all crtc beforehand already, which will shut up
+any pending vblank (the only thing vblank_cleanup really does is
+disable the disable timer). Hence we don't need this here and can
+remove it.
+
+Cc: Alex Deucher <alexander.deucher@amd.com>
+Cc: Christian König <christian.koenig@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
+Link: http://patchwork.freedesktop.org/patch/msgid/20170621082850.13224-2-daniel.vetter@ffwll.ch
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
+index 282cf62..43a4d6a 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
+@@ -230,7 +230,6 @@ void amdgpu_irq_fini(struct amdgpu_device *adev)
+ {
+ unsigned i, j;
+
+- drm_vblank_cleanup(adev->ddev);
+ if (adev->irq.installed) {
+ drm_irq_uninstall(adev->ddev);
+ adev->irq.installed = false;
+--
+2.7.4
+