From: Tao Zhou <tao.zhou1@xxxxxxx> remove the divisor 4 Signed-off-by: Tao Zhou <tao.zhou1@xxxxxxx> Acked-by: Jack Xiao <Jack.Xiao@xxxxxxx> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> --- drivers/gpu/drm/amd/amdgpu/nv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index d1f8757abbeb..70d844d06e20 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -122,7 +122,7 @@ static u32 nv_get_config_memsize(struct amdgpu_device *adev) static u32 nv_get_xclk(struct amdgpu_device *adev) { - return adev->clock.spll.reference_freq / 4; + return adev->clock.spll.reference_freq; } -- 2.20.1 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx