aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0896-drm-amd-amdgpu-Fix-indentation-in-gfx_v9_0_mqd_init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0896-drm-amd-amdgpu-Fix-indentation-in-gfx_v9_0_mqd_init.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0896-drm-amd-amdgpu-Fix-indentation-in-gfx_v9_0_mqd_init.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0896-drm-amd-amdgpu-Fix-indentation-in-gfx_v9_0_mqd_init.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0896-drm-amd-amdgpu-Fix-indentation-in-gfx_v9_0_mqd_init.patch
new file mode 100644
index 00000000..682cb39f
--- /dev/null
+++ b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0896-drm-amd-amdgpu-Fix-indentation-in-gfx_v9_0_mqd_init.patch
@@ -0,0 +1,32 @@
+From c52ebbbb9979d4ec431271599fd98ce25c46b4ed Mon Sep 17 00:00:00 2001
+From: Tom St Denis <tom.stdenis@amd.com>
+Date: Thu, 31 Aug 2017 09:43:47 -0400
+Subject: [PATCH 0896/4131] drm/amd/amdgpu: Fix indentation in
+ gfx_v9_0_mqd_init()
+
+Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+index c224179..bbb5032 100644
+--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+@@ -2489,10 +2489,10 @@ static int gfx_v9_0_mqd_init(struct amdgpu_ring *ring)
+ DOORBELL_SOURCE, 0);
+ tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL,
+ DOORBELL_HIT, 0);
+- }
+- else
++ } else {
+ tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL,
+ DOORBELL_EN, 0);
++ }
+
+ mqd->cp_hqd_pq_doorbell_control = tmp;
+
+--
+2.7.4
+