drm/radeon/dpm: implement vblank_too_short callback for 7xx
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 15:49:48 +0000 (11:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 21:40:31 +0000 (17:40 -0400)
commitb06195d9943d561273939e866b4bfc87beba18bc
tree144eff6298a18a1de951b62ecf180c2d0d8fdb48
parent48783069350a2963e97696a3c3ed0a40cbe35210
drm/radeon/dpm: implement vblank_too_short callback for 7xx

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