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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2016 10:13:58 +0000 (04:13 -0600)
commit78f2cffcdbade80073fe7049676e71e521afa0fc
treef7d498f63a30c8e1cb06b7acca17cf0ba0b388ff
parent5d980100fb5fe8ac0de4d472321570546898dd90
drm/radeon: change vblank_time's calculation method to reduce computational error.

commit 02cfb5fccb0f9f968f0e208d89d9769aa16267bc upstream.

Ported from Rex's amdgpu change.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/r600_dpm.c