aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0368-drm-amd-amdgpu-Fix-indentation-in-dce_v11_0_crtc_do_.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0368-drm-amd-amdgpu-Fix-indentation-in-dce_v11_0_crtc_do_.patch')
-rw-r--r--common/recipes-kernel/linux/files/0368-drm-amd-amdgpu-Fix-indentation-in-dce_v11_0_crtc_do_.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0368-drm-amd-amdgpu-Fix-indentation-in-dce_v11_0_crtc_do_.patch b/common/recipes-kernel/linux/files/0368-drm-amd-amdgpu-Fix-indentation-in-dce_v11_0_crtc_do_.patch
new file mode 100644
index 00000000..51df5b45
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0368-drm-amd-amdgpu-Fix-indentation-in-dce_v11_0_crtc_do_.patch
@@ -0,0 +1,42 @@
+From 41544fcdd019a12b3177577a0b36227e5f74a88a Mon Sep 17 00:00:00 2001
+From: Tom St Denis <tom.stdenis@amd.com>
+Date: Wed, 2 Mar 2016 12:07:02 -0500
+Subject: [PATCH 0368/1110] drm/amd/amdgpu: Fix indentation in
+ dce_v11_0_crtc_do_set_base()
+
+Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+index f078171..ad43347 100644
+--- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+@@ -2065,8 +2065,7 @@ static int dce_v11_0_crtc_do_set_base(struct drm_crtc *crtc,
+ if (atomic) {
+ amdgpu_fb = to_amdgpu_framebuffer(fb);
+ target_fb = fb;
+- }
+- else {
++ } else {
+ amdgpu_fb = to_amdgpu_framebuffer(crtc->primary->fb);
+ target_fb = crtc->primary->fb;
+ }
+@@ -2080,9 +2079,9 @@ static int dce_v11_0_crtc_do_set_base(struct drm_crtc *crtc,
+ if (unlikely(r != 0))
+ return r;
+
+- if (atomic)
++ if (atomic) {
+ fb_location = amdgpu_bo_gpu_offset(rbo);
+- else {
++ } else {
+ r = amdgpu_bo_pin(rbo, AMDGPU_GEM_DOMAIN_VRAM, &fb_location);
+ if (unlikely(r != 0)) {
+ amdgpu_bo_unreserve(rbo);
+--
+2.7.4
+