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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Oct 2016 22:25:48 +0000 (18:25 -0400)
commitdc8184aa8621ee8048652496884d9f40d4bb407f
tree722dbe7a1ddc4dd2be903ff70c8db4b6b98e409e
parent4a446d55843fb82fc5bc6c72d27bfc20b6c294c3
drm/amdgpu: change vblank_time's calculation method to reduce computational error.

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c