summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-08 12:03:55 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-07-08 17:40:52 -0400
commita84301c65d256d8aa23a254a6f2d51ecf67e9ee5 (patch)
treef84e1947ed52158eea07b58431dfdb3096a9ea36 /drivers/gpu/drm/radeon/radeon_asic.h
parentd0b54bdc93b4e0aaeed6313b4515aff391aae827 (diff)
downloadop-kernel-dev-a84301c65d256d8aa23a254a6f2d51ecf67e9ee5.zip
op-kernel-dev-a84301c65d256d8aa23a254a6f2d51ecf67e9ee5.tar.gz
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.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 0ef8b49..bca9a8b 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -556,6 +556,7 @@ void btc_dpm_post_set_power_state(struct radeon_device *rdev);
void btc_dpm_fini(struct radeon_device *rdev);
u32 btc_dpm_get_sclk(struct radeon_device *rdev, bool low);
u32 btc_dpm_get_mclk(struct radeon_device *rdev, bool low);
+bool btc_dpm_vblank_too_short(struct radeon_device *rdev);
int sumo_dpm_init(struct radeon_device *rdev);
int sumo_dpm_enable(struct radeon_device *rdev);
void sumo_dpm_disable(struct radeon_device *rdev);
OpenPOWER on IntegriCloud