aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-15 18:24:31 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 16:30:31 -0400
commit5496131e458e6bbee7f7bdf6f116d150c6dcf728 (patch)
tree5b7196c611083f8ff277fe96934308affcc9cc5a /drivers/gpu/drm/radeon/radeon_asic.h
parentdrm/radeon/dpm: implement force performance level for CI (diff)
downloadlinux-dev-5496131e458e6bbee7f7bdf6f116d150c6dcf728.tar.xz
linux-dev-5496131e458e6bbee7f7bdf6f116d150c6dcf728.zip
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.h1
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,
struct seq_file *m);
int ci_dpm_force_performance_level(struct radeon_device *rdev,
enum radeon_dpm_forced_level level);
+bool ci_dpm_vblank_too_short(struct radeon_device *rdev);
int kv_dpm_init(struct radeon_device *rdev);
int kv_dpm_enable(struct radeon_device *rdev);