All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable
@ 2016-03-07 23:40 Alex Deucher
  2016-03-08  0:02 ` Patch "drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable" has been added to the 4.4-stable tree gregkh
  2016-03-08  9:09 ` [PATCH] drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable Christian König
  0 siblings, 2 replies; 3+ messages in thread
From: Alex Deucher @ 2016-03-07 23:40 UTC (permalink / raw)
  To: gregkh; +Cc: christian.koenig, Alex Deucher, stable

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>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/amd/amdgpu/vi.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 7628eb4..3e9cbe3 100644
--- 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_version topaz_ip_blocks[] =
 	},
 	{
 		.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_version tonga_ip_blocks[] =
 	},
 	{
 		.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,
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Patch "drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable" has been added to the 4.4-stable tree
  2016-03-07 23:40 [PATCH] drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable Alex Deucher
@ 2016-03-08  0:02 ` gregkh
  2016-03-08  9:09 ` [PATCH] drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable Christian König
  1 sibling, 0 replies; 3+ messages in thread
From: gregkh @ 2016-03-08  0:02 UTC (permalink / raw)
  To: alexdeucher, alexander.deucher, gregkh; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable

to the 4.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-amdgpu-fix-topaz-tonga-gmc-assignment-in-4.4-stable.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>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,


Patches currently in stable-queue which might be from alexdeucher@gmail.com are

queue-4.4/drm-amdgpu-fix-topaz-tonga-gmc-assignment-in-4.4-stable.patch

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable
  2016-03-07 23:40 [PATCH] drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable Alex Deucher
  2016-03-08  0:02 ` Patch "drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable" has been added to the 4.4-stable tree gregkh
@ 2016-03-08  9:09 ` Christian König
  1 sibling, 0 replies; 3+ messages in thread
From: Christian König @ 2016-03-08  9:09 UTC (permalink / raw)
  To: Alex Deucher, gregkh; +Cc: Alex Deucher, stable

Am 08.03.2016 um 00:40 schrieb Alex Deucher:
> 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>
> Cc: stable@vger.kernel.org

Well, that's a rather ugly case where the automated back-porting of a 
patch didn't worked.

Fix is Reviewed-by: Christian Kᅵnig <christian.koenig@amd.com>

Regards,
Christian.

> ---
>   drivers/gpu/drm/amd/amdgpu/vi.c | 12 ++++++------
>   1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
> index 7628eb4..3e9cbe3 100644
> --- 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_version topaz_ip_blocks[] =
>   	},
>   	{
>   		.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_version tonga_ip_blocks[] =
>   	},
>   	{
>   		.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,


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-08  9:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07 23:40 [PATCH] drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable Alex Deucher
2016-03-08  0:02 ` Patch "drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable" has been added to the 4.4-stable tree gregkh
2016-03-08  9:09 ` [PATCH] drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.