drm/radeon: change vblank_time's calculation method to reduce computational error.
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Oct 2016 19:28:55 +0000 (15:28 -0400)
committerSasha Levin <alexander.levin@verizon.com>
Thu, 24 Nov 2016 02:28:43 +0000 (21:28 -0500)
commit5617a13564bf1438a0dbfdde79c3bbf769190fbd
tree210620c99473b348adf78098eff5337dc2a22413
parent74407793c5d017cfa295a226f06160331c2bc29e
drm/radeon: change vblank_time's calculation method to reduce computational error.

[ Upstream commit 02cfb5fccb0f9f968f0e208d89d9769aa16267bc ]

Ported from Rex's amdgpu change.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/gpu/drm/radeon/r600_dpm.c