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.h | |
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.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 0ef8b4967b9c..bca9a8bc062b 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); |