aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0278-drm-amdgpu-fix-wrong-type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0278-drm-amdgpu-fix-wrong-type.patch')
-rw-r--r--meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0278-drm-amdgpu-fix-wrong-type.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0278-drm-amdgpu-fix-wrong-type.patch b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0278-drm-amdgpu-fix-wrong-type.patch
new file mode 100644
index 00000000..19e30e3d
--- /dev/null
+++ b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0278-drm-amdgpu-fix-wrong-type.patch
@@ -0,0 +1,31 @@
+From 332300b97e700e000739c8db782406b6fd8f092d Mon Sep 17 00:00:00 2001
+From: "monk.liu" <monk.liu@amd.com>
+Date: Mon, 8 Jun 2015 14:48:15 +0800
+Subject: [PATCH 0278/1050] drm/amdgpu: fix wrong type
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: monk.liu <monk.liu@amd.com>
+Reviewed-by: Christian König <christian.koenig@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
+index 8f0fc22..f2d885c 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
+@@ -522,7 +522,8 @@ long amdgpu_fence_wait_seq_timeout(struct amdgpu_device *adev, u64 *target_seq,
+ {
+ uint64_t last_seq[AMDGPU_MAX_RINGS];
+ bool signaled;
+- int i, r;
++ int i;
++ long r;
+
+ if (timeout == 0) {
+ return amdgpu_fence_any_seq_signaled(adev, target_seq);
+--
+1.9.1
+