diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-08 20:09:41 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-09 01:41:01 +0400 |
commit | 76ad73e549ff39cbb235dae3a14902bb6ca12d53 (patch) | |
tree | 63f72af32e0e06ddee422b70c530e83cc7587c9e /drivers/gpu/drm/radeon/radeon_asic.c | |
parent | a84301c65d256d8aa23a254a6f2d51ecf67e9ee5 (diff) | |
download | linux-76ad73e549ff39cbb235dae3a14902bb6ca12d53.tar.xz |
drm/radeon/dpm: implement vblank_too_short callback for cayman
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 c42b3674b426..c62428be9bed 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c @@ -1945,6 +1945,7 @@ static struct radeon_asic cayman_asic = { .print_power_state = &ni_dpm_print_power_state, .debugfs_print_current_performance_level = &ni_dpm_debugfs_print_current_performance_level, .force_performance_level = &ni_dpm_force_performance_level, + .vblank_too_short = &ni_dpm_vblank_too_short, }, .pflip = { .pre_page_flip = &evergreen_pre_page_flip, |