diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-15 18:24:31 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-08-30 16:30:31 -0400 |
commit | 5496131e458e6bbee7f7bdf6f116d150c6dcf728 (patch) | |
tree | 5b7196c611083f8ff277fe96934308affcc9cc5a /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | 89536fd600f9997e776eef6c666cc61ea8c55f07 (diff) |
drm/radeon/dpm: implement vblank_too_short callback for CI
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.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index a88792865fa4..b5f4e431c493 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h | |||
@@ -767,6 +767,7 @@ void ci_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev, | |||
767 | struct seq_file *m); | 767 | struct seq_file *m); |
768 | int ci_dpm_force_performance_level(struct radeon_device *rdev, | 768 | int ci_dpm_force_performance_level(struct radeon_device *rdev, |
769 | enum radeon_dpm_forced_level level); | 769 | enum radeon_dpm_forced_level level); |
770 | bool ci_dpm_vblank_too_short(struct radeon_device *rdev); | ||
770 | 771 | ||
771 | int kv_dpm_init(struct radeon_device *rdev); | 772 | int kv_dpm_init(struct radeon_device *rdev); |
772 | int kv_dpm_enable(struct radeon_device *rdev); | 773 | int kv_dpm_enable(struct radeon_device *rdev); |