aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0485-drm-amdgpu-fix-the-coding-style-in-amdgpu_ring.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0485-drm-amdgpu-fix-the-coding-style-in-amdgpu_ring.c.patch')
-rw-r--r--common/recipes-kernel/linux/files/0485-drm-amdgpu-fix-the-coding-style-in-amdgpu_ring.c.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0485-drm-amdgpu-fix-the-coding-style-in-amdgpu_ring.c.patch b/common/recipes-kernel/linux/files/0485-drm-amdgpu-fix-the-coding-style-in-amdgpu_ring.c.patch
new file mode 100644
index 00000000..96176219
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0485-drm-amdgpu-fix-the-coding-style-in-amdgpu_ring.c.patch
@@ -0,0 +1,43 @@
+From 80fa1104a0784a2b30bfb15ce8807dd9f83bf3ce Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
+Date: Wed, 13 Apr 2016 11:36:00 +0200
+Subject: [PATCH 0485/1110] drm/amdgpu: fix the coding style in amdgpu_ring.c
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+No functional change.
+
+Signed-off-by: Christian König <christian.koenig@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
+index 0fd143d..bb4ec76 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
+@@ -46,7 +46,8 @@
+ * wptr. The GPU then starts fetching commands and executes
+ * them until the pointers are equal again.
+ */
+-static int amdgpu_debugfs_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring);
++static int amdgpu_debugfs_ring_init(struct amdgpu_device *adev,
++ struct amdgpu_ring *ring);
+
+ /**
+ * amdgpu_ring_alloc - allocate space on the ring buffer
+@@ -264,7 +265,7 @@ int amdgpu_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring,
+ dev_err(adev->dev, "(%d) ring next_rptr wb alloc failed\n", r);
+ return r;
+ }
+- ring->next_rptr_gpu_addr = adev->wb.gpu_addr + (ring->next_rptr_offs * 4);
++ ring->next_rptr_gpu_addr = adev->wb.gpu_addr + ring->next_rptr_offs * 4;
+ ring->next_rptr_cpu_addr = &adev->wb.wb[ring->next_rptr_offs];
+
+ r = amdgpu_wb_get(adev, &ring->cond_exe_offs);
+--
+2.7.4
+