All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: update revision id settings for BR/ST
@ 2017-05-01 20:15 Alex Deucher
       [not found] ` <1493669704-29806-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Deucher @ 2017-05-01 20:15 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher

Add new RIDs.

Acked-by: Alex Xie <AlexBin.Xie@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index d82c439..700188a 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -1940,6 +1940,7 @@ static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev)
 		case 0xca:
 		case 0xce:
 		case 0x88:
+		case 0xe6:
 			/* B6 */
 			adev->gfx.config.max_cu_per_sh = 6;
 			break;
@@ -1972,17 +1973,28 @@ static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev)
 		adev->gfx.config.max_backends_per_se = 1;
 
 		switch (adev->pdev->revision) {
+		case 0x80:
+		case 0x81:
 		case 0xc0:
 		case 0xc1:
 		case 0xc2:
 		case 0xc4:
 		case 0xc8:
 		case 0xc9:
+		case 0xd6:
+		case 0xda:
+		case 0xe9:
+		case 0xea:
 			adev->gfx.config.max_cu_per_sh = 3;
 			break;
+		case 0x83:
 		case 0xd0:
 		case 0xd1:
 		case 0xd2:
+		case 0xd4:
+		case 0xdb:
+		case 0xe1:
+		case 0xe2:
 		default:
 			adev->gfx.config.max_cu_per_sh = 2;
 			break;
-- 
2.5.5

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

* Re: [PATCH] drm/amdgpu: update revision id settings for BR/ST
       [not found] ` <1493669704-29806-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
@ 2017-05-02  7:56   ` Christian König
  0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2017-05-02  7:56 UTC (permalink / raw)
  To: Alex Deucher, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher

Am 01.05.2017 um 22:15 schrieb Alex Deucher:
> Add new RIDs.
>
> Acked-by: Alex Xie <AlexBin.Xie@amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

Acked-by: Christian König <christian.koenig@amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> index d82c439..700188a 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
> @@ -1940,6 +1940,7 @@ static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev)
>   		case 0xca:
>   		case 0xce:
>   		case 0x88:
> +		case 0xe6:
>   			/* B6 */
>   			adev->gfx.config.max_cu_per_sh = 6;
>   			break;
> @@ -1972,17 +1973,28 @@ static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev)
>   		adev->gfx.config.max_backends_per_se = 1;
>   
>   		switch (adev->pdev->revision) {
> +		case 0x80:
> +		case 0x81:
>   		case 0xc0:
>   		case 0xc1:
>   		case 0xc2:
>   		case 0xc4:
>   		case 0xc8:
>   		case 0xc9:
> +		case 0xd6:
> +		case 0xda:
> +		case 0xe9:
> +		case 0xea:
>   			adev->gfx.config.max_cu_per_sh = 3;
>   			break;
> +		case 0x83:
>   		case 0xd0:
>   		case 0xd1:
>   		case 0xd2:
> +		case 0xd4:
> +		case 0xdb:
> +		case 0xe1:
> +		case 0xe2:
>   		default:
>   			adev->gfx.config.max_cu_per_sh = 2;
>   			break;


_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2017-05-02  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-01 20:15 [PATCH] drm/amdgpu: update revision id settings for BR/ST Alex Deucher
     [not found] ` <1493669704-29806-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-05-02  7:56   ` 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.