aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0454-drm-amdgpu-refine-code-for-code-style.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0454-drm-amdgpu-refine-code-for-code-style.patch')
-rw-r--r--common/recipes-kernel/linux/files/0454-drm-amdgpu-refine-code-for-code-style.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0454-drm-amdgpu-refine-code-for-code-style.patch b/common/recipes-kernel/linux/files/0454-drm-amdgpu-refine-code-for-code-style.patch
new file mode 100644
index 00000000..aea02c32
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0454-drm-amdgpu-refine-code-for-code-style.patch
@@ -0,0 +1,32 @@
+From 63d9206bd8baa20754dff9ef61fe1e7abba5a28c Mon Sep 17 00:00:00 2001
+From: Rex Zhu <Rex.Zhu@amd.com>
+Date: Wed, 16 Mar 2016 15:17:18 +0800
+Subject: [PATCH 0454/1110] drm/amdgpu: refine code for code style.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Christian König <christian.koenig@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
+index 4440973..c306cb9 100644
+--- a/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
+@@ -319,7 +319,7 @@ static void vce_v2_0_set_sw_cg(struct amdgpu_device *adev, bool gated)
+ WREG32(mmVCE_UENC_REG_CLOCK_GATING, tmp);
+
+ WREG32(mmVCE_CGTT_CLK_OVERRIDE, 0);
+- } else {
++ } else {
+ tmp = RREG32(mmVCE_CLOCK_GATING_B);
+ tmp |= 0xe7;
+ tmp &= ~0xe70000;
+--
+2.7.4
+