mirror of
https://github.com/torvalds/linux.git
synced 2026-11-01 19:30:03 +01:00
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:
parent
73a2a3b172
commit
90580da8ce
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user