drm/amdgpu: correct reference clock value on vega10
Old value from bringup was wrong. Cc: stable@vger.kernel.org Signed-off-by: Ken Wang <Ken.Wang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2dc8f81e4f
commit
76d6172b6f
@ -279,10 +279,7 @@ static void soc15_init_golden_registers(struct amdgpu_device *adev)
|
||||
}
|
||||
static u32 soc15_get_xclk(struct amdgpu_device *adev)
|
||||
{
|
||||
if (adev->asic_type == CHIP_VEGA10)
|
||||
return adev->clock.spll.reference_freq/4;
|
||||
else
|
||||
return adev->clock.spll.reference_freq;
|
||||
return adev->clock.spll.reference_freq;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user