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 20:45:28 +0000 (16:45 -0400)
commit09be4a5219610a6fae3215d4f51f948d6f5d2609
tree738ae93d3f25bfbb224a9999359c990583d2f9f9
parent58d7e3e427db1bd68f33025519a9468140280a75
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