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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:18:51 +0000 (18:18 -0700)
commit3b687448b7e14bfd9b62e8519fc60a6565f9dc84
treec888ca9001ffb8775c6705480c5282fa4b00fe71
parent0238907f5506a7c2dab3c9bc6b875034017c4fad
drm/amdgpu: use drm_mode_vrefresh() rather than mode->vrefresh

commit 6b8812eb004ee2b24aac8b1a711a0e8e797df3ce upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c