aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_mode.h
diff options
context:
space:
mode:
authorMario Kleiner <mario.kleiner.de@gmail.com>2013-10-30 00:13:07 -0400
committerDave Airlie <airlied@redhat.com>2013-11-05 20:53:42 -0500
commitd47abc585d26ce48e31a3b77d6414f507c5e9519 (patch)
tree0db7c68389c8d8a7f688482a08870901d956df37 /drivers/gpu/drm/radeon/radeon_mode.h
parent8f6fce03ddaf10bfa40c7d6cd59b778d35d41800 (diff)
drm/radeon: Push get_scanout_position() timestamping into kms driver.
Move the ktime_get() clock readouts and potential preempt_disable() calls from drm core into kms driver to make it compatible with the api changes in the drm core. This should not introduce any change in functionality or behaviour in radeon-kms, just a reshuffling of code. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_mode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h
index 8b4e712c1e5c..3f0dd664af90 100644
--- a/drivers/gpu/drm/radeon/radeon_mode.h
+++ b/drivers/gpu/drm/radeon/radeon_mode.h
@@ -766,7 +766,8 @@ extern int radeon_crtc_cursor_move(struct drm_crtc *crtc,
766 int x, int y); 766 int x, int y);
767 767
768extern int radeon_get_crtc_scanoutpos(struct drm_device *dev, int crtc, 768extern int radeon_get_crtc_scanoutpos(struct drm_device *dev, int crtc,
769 int *vpos, int *hpos); 769 int *vpos, int *hpos, ktime_t *stime,
770 ktime_t *etime);
770 771
771extern bool radeon_combios_check_hardcoded_edid(struct radeon_device *rdev); 772extern bool radeon_combios_check_hardcoded_edid(struct radeon_device *rdev);
772extern struct edid * 773extern struct edid *