Skip to contentSkip to conversation

drm/amdgpu: update revision id settings for BR/ST

PATCH In review Alex Deucher 2 participants 2 messages May 1, 2017 – May 2, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: update revision id settings for BR/ST

Add new RIDs.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +12 -0
index d82c439..700188a 100644
@@ -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;
Signature · 6 lines
2.5.5

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1493669704-29806-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org

#2 lore raw

Am 01.05.2017 um 22:15 schrieb Alex Deucher:

Quoted 4 lines

Add new RIDs.

Quoted 35 lines
---
  drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 12 ++++++++++++
  1 file changed, 12 insertions(+)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +8 -0
index d82c439..700188a 100644
@@ -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:

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c static int gfx_v8_0_gpu_early_init(struct amdgpu_device *adev) · line 2000

Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +4 -0
  		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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx