drm: make drm_vblank_count_and_time() static

As they are not used anywhere outside drm_irq.c make them static.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1467677092-5089-1-git-send-email-gustavo@padovan.org
This commit is contained in:
Gustavo Padovan 2016-07-04 21:04:47 -03:00 committed by Daniel Vetter
parent 1233d4d68a
commit 6e5f73fcad
2 changed files with 2 additions and 7 deletions

View File

@ -945,8 +945,8 @@ EXPORT_SYMBOL(drm_crtc_vblank_count);
* *
* This is the legacy version of drm_crtc_vblank_count_and_time(). * This is the legacy version of drm_crtc_vblank_count_and_time().
*/ */
u32 drm_vblank_count_and_time(struct drm_device *dev, unsigned int pipe, static u32 drm_vblank_count_and_time(struct drm_device *dev, unsigned int pipe,
struct timeval *vblanktime) struct timeval *vblanktime)
{ {
struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; struct drm_vblank_crtc *vblank = &dev->vblank[pipe];
u32 vblank_count; u32 vblank_count;
@ -963,7 +963,6 @@ u32 drm_vblank_count_and_time(struct drm_device *dev, unsigned int pipe,
return vblank_count; return vblank_count;
} }
EXPORT_SYMBOL(drm_vblank_count_and_time);
/** /**
* drm_crtc_vblank_count_and_time - retrieve "cooked" vblank counter value * drm_crtc_vblank_count_and_time - retrieve "cooked" vblank counter value
@ -975,8 +974,6 @@ EXPORT_SYMBOL(drm_vblank_count_and_time);
* vblank events since the system was booted, including lost events due to * vblank events since the system was booted, including lost events due to
* modesetting activity. Returns corresponding system timestamp of the time * modesetting activity. Returns corresponding system timestamp of the time
* of the vblank interval that corresponds to the current vblank counter value. * of the vblank interval that corresponds to the current vblank counter value.
*
* This is the native KMS version of drm_vblank_count_and_time().
*/ */
u32 drm_crtc_vblank_count_and_time(struct drm_crtc *crtc, u32 drm_crtc_vblank_count_and_time(struct drm_crtc *crtc,
struct timeval *vblanktime) struct timeval *vblanktime)

View File

@ -942,8 +942,6 @@ extern int drm_wait_vblank(struct drm_device *dev, void *data,
struct drm_file *filp); struct drm_file *filp);
extern u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe); extern u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe);
extern u32 drm_crtc_vblank_count(struct drm_crtc *crtc); extern u32 drm_crtc_vblank_count(struct drm_crtc *crtc);
extern u32 drm_vblank_count_and_time(struct drm_device *dev, unsigned int pipe,
struct timeval *vblanktime);
extern u32 drm_crtc_vblank_count_and_time(struct drm_crtc *crtc, extern u32 drm_crtc_vblank_count_and_time(struct drm_crtc *crtc,
struct timeval *vblanktime); struct timeval *vblanktime);
extern void drm_crtc_send_vblank_event(struct drm_crtc *crtc, extern void drm_crtc_send_vblank_event(struct drm_crtc *crtc,