drm/radeon/dpm: implement vblank_too_short callback for si
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 16:15:11 +0000 (12:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 21:41:11 +0000 (17:41 -0400)
commitf4dec31861e938267d41a962f145edc7d81c8e92
tree897575f0e233182232512d0eecf9d7d36d88b55a
parent76ad73e549ff39cbb235dae3a14902bb6ca12d53
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>
drivers/gpu/drm/radeon/ni_dpm.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/si_dpm.c