]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:02:36 +0000 (16:02 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:02:36 +0000 (16:02 -0800)
added patches:
drm-amdgpu-fix-topaz-tonga-gmc-assignment-in-4.4-stable.patch

queue-4.4/drm-amdgpu-fix-topaz-tonga-gmc-assignment-in-4.4-stable.patch [new file with mode: 0644]
queue-4.4/series

diff --git a/queue-4.4/drm-amdgpu-fix-topaz-tonga-gmc-assignment-in-4.4-stable.patch b/queue-4.4/drm-amdgpu-fix-topaz-tonga-gmc-assignment-in-4.4-stable.patch
new file mode 100644 (file)
index 0000000..f259c53
--- /dev/null
@@ -0,0 +1,54 @@
+From alexdeucher@gmail.com  Mon Mar  7 15:51:15 2016
+From: Alex Deucher <alexdeucher@gmail.com>
+Date: Mon,  7 Mar 2016 18:40:45 -0500
+Subject: drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable
+To: gregkh@linuxfoundation.org
+Cc: christian.koenig@amd.com, Alex Deucher <alexander.deucher@amd.com>, stable@vger.kernel.org
+Message-ID: <1457394045-14840-1-git-send-email-alexander.deucher@amd.com>
+
+From: Alex Deucher <alexdeucher@gmail.com>
+
+When upstream commit 429c45deae6e57f1bb91bfb05b671063fb0cef60
+was applied to 4.4 as d60703ca942e8d044d61360bc9792fcab54b95d0
+it applied incorrectly to the tonga_ip_blocks array rather than
+the topaz_ip_blocks array.  Fix that up here.
+
+Bug:
+https://bugzilla.kernel.org/show_bug.cgi?id=113951
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/gpu/drm/amd/amdgpu/vi.c |   12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+--- a/drivers/gpu/drm/amd/amdgpu/vi.c
++++ b/drivers/gpu/drm/amd/amdgpu/vi.c
+@@ -1082,10 +1082,10 @@ static const struct amdgpu_ip_block_vers
+       },
+       {
+               .type = AMD_IP_BLOCK_TYPE_GMC,
+-              .major = 8,
+-              .minor = 0,
++              .major = 7,
++              .minor = 4,
+               .rev = 0,
+-              .funcs = &gmc_v8_0_ip_funcs,
++              .funcs = &gmc_v7_0_ip_funcs,
+       },
+       {
+               .type = AMD_IP_BLOCK_TYPE_IH,
+@@ -1129,10 +1129,10 @@ static const struct amdgpu_ip_block_vers
+       },
+       {
+               .type = AMD_IP_BLOCK_TYPE_GMC,
+-              .major = 7,
+-              .minor = 4,
++              .major = 8,
++              .minor = 0,
+               .rev = 0,
+-              .funcs = &gmc_v7_0_ip_funcs,
++              .funcs = &gmc_v8_0_ip_funcs,
+       },
+       {
+               .type = AMD_IP_BLOCK_TYPE_IH,
index 9be8c9afe463f8f244cf716f560e86b4f01c96c2..e2b42bcaa813d120f991c3f7f21dcee157670c20 100644 (file)
@@ -71,3 +71,4 @@ block-get-the-1st-and-last-bvec-via-helpers.patch
 drm-i915-more-virtual-south-bridge-detection.patch
 drm-i915-refine-qemu-south-bridge-detection.patch
 modules-fix-longstanding-proc-kallsyms-vs-module-insertion-race.patch
+drm-amdgpu-fix-topaz-tonga-gmc-assignment-in-4.4-stable.patch