drm/amd/powerplay/smu7: add vblank check for mclk switching (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 11 May 2017 17:46:12 +0000 (13:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:39:32 +0000 (17:39 -0400)
commit14efcf11e96aa0346ccc0a931ad6f0a2d1dea828
tree5774e22718f27a7c8bd132b703fed52152bc7589
parentab03d9fe508f4e2914a8f4a9eef1b21051cacd0f
drm/amd/powerplay/smu7: add vblank check for mclk switching (v2)

Check to make sure the vblank period is long enough to support
mclk switching.

v2: drop needless initial assignment (Nils)

bug: https://bugs.freedesktop.org/show_bug.cgi?id=96868

Cc: stable@vger.kernel.org
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c