diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-08 12:15:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-07-08 17:41:11 -0400 |
commit | f4dec31861e938267d41a962f145edc7d81c8e92 (patch) | |
tree | 897575f0e233182232512d0eecf9d7d36d88b55a /drivers/gpu/drm/radeon/ni_dpm.h | |
parent | 76ad73e549ff39cbb235dae3a14902bb6ca12d53 (diff) | |
download | blackbird-op-linux-f4dec31861e938267d41a962f145edc7d81c8e92.tar.gz blackbird-op-linux-f4dec31861e938267d41a962f145edc7d81c8e92.zip |
drm/radeon/dpm: implement vblank_too_short callback for si
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/ni_dpm.h')
-rw-r--r-- | drivers/gpu/drm/radeon/ni_dpm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ni_dpm.h b/drivers/gpu/drm/radeon/ni_dpm.h index ac1c7abf2c67..6bbee9180909 100644 --- a/drivers/gpu/drm/radeon/ni_dpm.h +++ b/drivers/gpu/drm/radeon/ni_dpm.h @@ -245,4 +245,6 @@ void ni_set_uvd_clock_after_set_eng_clock(struct radeon_device *rdev, struct radeon_ps *new_ps, struct radeon_ps *old_ps); +bool ni_dpm_vblank_too_short(struct radeon_device *rdev); + #endif |