aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1095-drm-amdgpu-add-late_fini-for-ip_funcs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/1095-drm-amdgpu-add-late_fini-for-ip_funcs.patch')
-rw-r--r--common/recipes-kernel/linux/files/1095-drm-amdgpu-add-late_fini-for-ip_funcs.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/1095-drm-amdgpu-add-late_fini-for-ip_funcs.patch b/common/recipes-kernel/linux/files/1095-drm-amdgpu-add-late_fini-for-ip_funcs.patch
new file mode 100644
index 00000000..d5e3e6de
--- /dev/null
+++ b/common/recipes-kernel/linux/files/1095-drm-amdgpu-add-late_fini-for-ip_funcs.patch
@@ -0,0 +1,32 @@
+From c5143a30c8e8ac348d15c13b073b37dd520268be Mon Sep 17 00:00:00 2001
+From: Monk Liu <Monk.Liu@amd.com>
+Date: Thu, 19 May 2016 14:35:17 +0800
+Subject: [PATCH 1095/1110] drm/amdgpu:add late_fini for ip_funcs
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Change-Id: Ibfcf42c8546dbfc07cf2370d7eed671dffe2eed5
+Signed-off-by: Monk Liu <Monk.Liu@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Christian König <christian.koenig@amd.com>
+Signed-off-by: Kalyan Alle <kalyan.alle@amd.com>
+---
+ drivers/gpu/drm/amd/include/amd_shared.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
+index 6080951..afce1ed 100644
+--- a/drivers/gpu/drm/amd/include/amd_shared.h
++++ b/drivers/gpu/drm/amd/include/amd_shared.h
+@@ -157,6 +157,7 @@ struct amd_ip_funcs {
+ int (*hw_init)(void *handle);
+ /* tears down the hw state */
+ int (*hw_fini)(void *handle);
++ void (*late_fini)(void *handle);
+ /* handles IP specific hw/sw changes for suspend */
+ int (*suspend)(void *handle);
+ /* handles IP specific hw/sw changes for resume */
+--
+2.7.4
+