drm/radeon/dpm: implement vblank_too_short callback for evergreen
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 15:56:09 +0000 (11:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 21:40:42 +0000 (17:40 -0400)
commitd0b54bdc93b4e0aaeed6313b4515aff391aae827
treeba7b460b769c2601674e258d3d58599f6f07b4d9
parentb06195d9943d561273939e866b4bfc87beba18bc
drm/radeon/dpm: implement vblank_too_short callback for evergreen

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