drm/radeon/dpm: implement vblank_too_short callback for btc
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 16:03:55 +0000 (12:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 21:40:52 +0000 (17:40 -0400)
commita84301c65d256d8aa23a254a6f2d51ecf67e9ee5
treef84e1947ed52158eea07b58431dfdb3096a9ea36
parentd0b54bdc93b4e0aaeed6313b4515aff391aae827
drm/radeon/dpm: implement vblank_too_short callback for btc

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