drm/radeon: use drm_mode_vrefresh() rather than mode->vrefresh
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Feb 2015 06:05:30 +0000 (01:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Feb 2015 21:06:05 +0000 (16:06 -0500)
commit3d2d98ee1af0cf6eebfbd6bff4c17d3601ac1284
treeb2bb93fe152c960829cfe9b59cad6aa288688f7c
parent7a26f9ad1b5badfd0200ce2262ad696e2a6b7fbb
drm/radeon: use drm_mode_vrefresh() rather than mode->vrefresh

Just in case it hasn't been calculated for the mode.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/r600_dpm.c