aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0863-drm-amd-dal-Remove-delay_in_nanoseconds.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0863-drm-amd-dal-Remove-delay_in_nanoseconds.patch')
-rw-r--r--common/recipes-kernel/linux/files/0863-drm-amd-dal-Remove-delay_in_nanoseconds.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0863-drm-amd-dal-Remove-delay_in_nanoseconds.patch b/common/recipes-kernel/linux/files/0863-drm-amd-dal-Remove-delay_in_nanoseconds.patch
new file mode 100644
index 00000000..4d6d2a56
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0863-drm-amd-dal-Remove-delay_in_nanoseconds.patch
@@ -0,0 +1,30 @@
+From 3122449db2eb102df4205dd0ec3d052eb23f2d31 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Sat, 27 Feb 2016 15:43:04 -0500
+Subject: [PATCH 0863/1110] drm/amd/dal: Remove delay_in_nanoseconds
+
+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_services.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_services.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_services.c
+index 30fc871..d0a17af 100644
+--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_services.c
++++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_services.c
+@@ -48,11 +48,6 @@ void dm_sleep_in_milliseconds(struct dc_context *ctx, uint32_t milliseconds)
+ usleep_range(milliseconds*1000, milliseconds*1000+1);
+ }
+
+-void dal_delay_in_nanoseconds(uint32_t nanoseconds)
+-{
+- ndelay(nanoseconds);
+-}
+-
+ void dm_delay_in_microseconds(struct dc_context *ctx, uint32_t microseconds)
+ {
+ udelay(microseconds);
+--
+2.7.4
+