diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-08 19:49:48 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-09 01:40:31 +0400 |
commit | b06195d9943d561273939e866b4bfc87beba18bc (patch) | |
tree | 144eff6298a18a1de951b62ecf180c2d0d8fdb48 /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | 48783069350a2963e97696a3c3ed0a40cbe35210 (diff) | |
download | linux-b06195d9943d561273939e866b4bfc87beba18bc.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index a6906d4ca734..c3b2f9605f6d 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c @@ -1394,6 +1394,7 @@ static struct radeon_asic rv770_asic = { .print_power_state = &rv770_dpm_print_power_state, .debugfs_print_current_performance_level = &rv770_dpm_debugfs_print_current_performance_level, .force_performance_level = &rv770_dpm_force_performance_level, + .vblank_too_short = &rv770_dpm_vblank_too_short, }, .pflip = { .pre_page_flip = &rs600_pre_page_flip, |