drm/amdgpu: init gds config for arct
arct has 4KB gds (4 banks inside) so the max_wave_id should be 0xfff Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Le Ma <Le.Ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
bfa3a9bb98
commit
22f5ea4ca0
@@ -5486,6 +5486,7 @@ static void gfx_v9_0_set_gds_init(struct amdgpu_device *adev)
|
|||||||
adev->gds.gds_size = 0x10000;
|
adev->gds.gds_size = 0x10000;
|
||||||
break;
|
break;
|
||||||
case CHIP_RAVEN:
|
case CHIP_RAVEN:
|
||||||
|
case CHIP_ARCTURUS:
|
||||||
adev->gds.gds_size = 0x1000;
|
adev->gds.gds_size = 0x1000;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -5507,6 +5508,9 @@ static void gfx_v9_0_set_gds_init(struct amdgpu_device *adev)
|
|||||||
else
|
else
|
||||||
adev->gds.gds_compute_max_wave_id = 0x15f; /* raven1 */
|
adev->gds.gds_compute_max_wave_id = 0x15f; /* raven1 */
|
||||||
break;
|
break;
|
||||||
|
case CHIP_ARCTURUS:
|
||||||
|
adev->gds.gds_compute_max_wave_id = 0xfff;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/* this really depends on the chip */
|
/* this really depends on the chip */
|
||||||
adev->gds.gds_compute_max_wave_id = 0x7ff;
|
adev->gds.gds_compute_max_wave_id = 0x7ff;
|
||||||
|
|||||||
Reference in New Issue
Block a user