drm/radeon/dpm: implement vblank_too_short callback for cayman
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 16:09:41 +0000 (12:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 21:41:01 +0000 (17:41 -0400)
commit76ad73e549ff39cbb235dae3a14902bb6ca12d53
tree63f72af32e0e06ddee422b70c530e83cc7587c9e
parenta84301c65d256d8aa23a254a6f2d51ecf67e9ee5
drm/radeon/dpm: implement vblank_too_short callback for cayman

Check if we can switch the mclk during the vblank time otherwise
we may get artifacts on the screen when the mclk changes.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ni_dpm.c
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h