mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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
1 changed files with 1 additions and 4 deletions
|
@ -279,10 +279,7 @@ static void soc15_init_golden_registers(struct amdgpu_device *adev)
|
||||||
}
|
}
|
||||||
static u32 soc15_get_xclk(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;
|
||||||
return adev->clock.spll.reference_freq/4;
|
|
||||||
else
|
|
||||||
return adev->clock.spll.reference_freq;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue