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

commit 6b8812eb00 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alex Deucher 2016-05-02 10:24:41 -04:00 • committed by Greg Kroah-Hartman
commit bf9be90437