drm/amdgpu: use drm_mode_vrefresh() rather than mode->vrefresh

This is a port of radeon commit:
3d2d98ee1a
drm/radeon: use drm_mode_vrefresh() rather than mode->vrefresh
to amdgpu.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
This commit is contained in:
Alex Deucher 2016-05-02 10:24:41 -04:00
commit 6b8812eb00