drm/amdgpu: Use 100M as refclock for SOCv1.0

When VBIOS is not available, fallback to use 100M for refclock value.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Mukul Joshi <mukul.joshi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Lijo Lazar 2026-08-04 21:24:33 +05:30 committed by Alex Deucher
parent 73a2a3b172
commit 90580da8ce

View File

@ -149,7 +149,11 @@ static u32 soc_v1_0_get_config_memsize(struct amdgpu_device *adev)
static u32 soc_v1_0_get_xclk(struct amdgpu_device *adev)
{
return adev->clock.spll.reference_freq;
/* 100MHz is the default */
if (!adev->bios)
return 10000;
else
return adev->clock.spll.reference_freq;
}
void soc_v1_0_grbm_select(struct amdgpu_device *adev,