drm/amdgpu: change vblank_time's calculation method to reduce computational error.
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 10 Oct 2016 07:57:21 +0000 (15:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2016 10:13:57 +0000 (04:13 -0600)
commitd88e951b67a99c9b33f85f2b094457b87227bf30
treec1a18bcbaf039089f69628b2c969b93c8ddccb73
parent5307cd52b7aacb68dc955544bab9c76e971449b0
drm/amdgpu: change vblank_time's calculation method to reduce computational error.

commit dc8184aa8621ee8048652496884d9f40d4bb407f upstream.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c