diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-08 18:03:55 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-08 23:40:52 +0200 |
commit | a84301c65d256d8aa23a254a6f2d51ecf67e9ee5 (patch) | |
tree | f84e1947ed52158eea07b58431dfdb3096a9ea36 /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | drm/radeon/dpm: implement vblank_too_short callback for evergreen (diff) | |
download | linux-a84301c65d256d8aa23a254a6f2d51ecf67e9ee5.tar.xz linux-a84301c65d256d8aa23a254a6f2d51ecf67e9ee5.zip |
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>
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 e73026393a46..c42b3674b426 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c @@ -1768,6 +1768,7 @@ static struct radeon_asic btc_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 = &btc_dpm_vblank_too_short, }, .pflip = { .pre_page_flip = &evergreen_pre_page_flip, |