Commit 3de2ff5d authored by Le Ma's avatar Le Ma Committed by Alex Deucher

drm/amdgpu: add gmc basic support for Arcturus

Add initial GMC support for Arcturus
Signed-off-by: default avatarLe Ma <le.ma@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d6c3b24e
...@@ -887,6 +887,7 @@ static int gmc_v9_0_mc_init(struct amdgpu_device *adev) ...@@ -887,6 +887,7 @@ static int gmc_v9_0_mc_init(struct amdgpu_device *adev)
case CHIP_VEGA10: /* all engines support GPUVM */ case CHIP_VEGA10: /* all engines support GPUVM */
case CHIP_VEGA12: /* all engines support GPUVM */ case CHIP_VEGA12: /* all engines support GPUVM */
case CHIP_VEGA20: case CHIP_VEGA20:
case CHIP_ARCTURUS:
default: default:
adev->gmc.gart_size = 512ULL << 20; adev->gmc.gart_size = 512ULL << 20;
break; break;
...@@ -1002,6 +1003,10 @@ static int gmc_v9_0_sw_init(void *handle) ...@@ -1002,6 +1003,10 @@ static int gmc_v9_0_sw_init(void *handle)
else else
amdgpu_vm_adjust_size(adev, 256 * 1024, 9, 3, 48); amdgpu_vm_adjust_size(adev, 256 * 1024, 9, 3, 48);
break; break;
case CHIP_ARCTURUS:
/* Keep the vm size same with Vega20 */
amdgpu_vm_adjust_size(adev, 256 * 1024, 9, 3, 48);
break;
default: default:
break; break;
} }
......
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