drm/amdgpu: use drm_mode_vrefresh() rather than mode->vrefresh
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 2 May 2016 14:24:41 +0000 (10:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:31:02 +0000 (20:31 -0400)
commit6b8812eb004ee2b24aac8b1a711a0e8e797df3ce
treef92f43c85be518f1ce75bd482d7c60e85a34bf05
parenta0cdef9e8234cd501d1ad1ea8517136087b3e60f
drm/amdgpu: use drm_mode_vrefresh() rather than mode->vrefresh

This is a port of radeon commit:
3d2d98ee1af0cf6eebfbd6bff4c17d3601ac1284
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
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c