diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-08 11:56:09 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-08 17:40:42 -0400 |
commit | d0b54bdc93b4e0aaeed6313b4515aff391aae827 (patch) | |
tree | ba7b460b769c2601674e258d3d58599f6f07b4d9 /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | b06195d9943d561273939e866b4bfc87beba18bc (diff) | |
download | linux-d0b54bdc93b4e0aaeed6313b4515aff391aae827.tar.gz |
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>
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 c3b2f9605f6d..e73026393a46 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c @@ -1519,6 +1519,7 @@ static struct radeon_asic evergreen_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 = &cypress_dpm_vblank_too_short, }, .pflip = { .pre_page_flip = &evergreen_pre_page_flip, |