Commit 065c15cb authored by Alex Deucher's avatar Alex Deucher Committed by Kamal Mostafa

drm/amdgpu: add some additional CZ revisions

commit b8b339ea upstream.
Reviewed-by: default avatarJammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent b4ffda0f
...@@ -2012,6 +2012,8 @@ static void gfx_v8_0_gpu_init(struct amdgpu_device *adev) ...@@ -2012,6 +2012,8 @@ static void gfx_v8_0_gpu_init(struct amdgpu_device *adev)
case 0x84: case 0x84:
case 0xc8: case 0xc8:
case 0xcc: case 0xcc:
case 0xe1:
case 0xe3:
/* B10 */ /* B10 */
adev->gfx.config.max_cu_per_sh = 8; adev->gfx.config.max_cu_per_sh = 8;
break; break;
...@@ -2020,18 +2022,23 @@ static void gfx_v8_0_gpu_init(struct amdgpu_device *adev) ...@@ -2020,18 +2022,23 @@ static void gfx_v8_0_gpu_init(struct amdgpu_device *adev)
case 0x85: case 0x85:
case 0xc9: case 0xc9:
case 0xcd: case 0xcd:
case 0xe2:
case 0xe4:
/* B8 */ /* B8 */
adev->gfx.config.max_cu_per_sh = 6; adev->gfx.config.max_cu_per_sh = 6;
break; break;
case 0xc6: case 0xc6:
case 0xca: case 0xca:
case 0xce: case 0xce:
case 0x88:
/* B6 */ /* B6 */
adev->gfx.config.max_cu_per_sh = 6; adev->gfx.config.max_cu_per_sh = 6;
break; break;
case 0xc7: case 0xc7:
case 0x87: case 0x87:
case 0xcb: case 0xcb:
case 0xe5:
case 0x89:
default: default:
/* B4 */ /* B4 */
adev->gfx.config.max_cu_per_sh = 4; adev->gfx.config.max_cu_per_sh = 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment