drm/radeon/dpm: implement vblank_too_short callback for CI
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Jul 2013 22:24:31 +0000 (18:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:30:31 +0000 (16:30 -0400)
commit5496131e458e6bbee7f7bdf6f116d150c6dcf728
tree5b7196c611083f8ff277fe96934308affcc9cc5a
parent89536fd600f9997e776eef6c666cc61ea8c55f07
drm/radeon/dpm: implement vblank_too_short callback for CI

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/ci_dpm.c
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h