diff options
| author | Lespiau, Damien <damien.lespiau@intel.com> | 2013-08-19 19:53:03 -0400 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2013-08-20 22:47:13 -0400 |
| commit | f51607ac8d4d09b59faf7c6d718f413f537a7b34 (patch) | |
| tree | 6c017c43cde026b856747fb781324cc2d0b6b741 /include/drm | |
| parent | f336ab76008f66f6153573d1479aeed388d7b08a (diff) | |
drm: Remove stale prototypes
A few prototypes have been left in the headers, their function friends
long gone.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
| -rw-r--r-- | include/drm/drmP.h | 5 | ||||
| -rw-r--r-- | include/drm/drm_crtc.h | 11 |
2 files changed, 0 insertions, 16 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 39911dca359b..046a7db43a6c 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
| @@ -1371,7 +1371,6 @@ extern int drm_irq_uninstall(struct drm_device *dev); | |||
| 1371 | extern int drm_vblank_init(struct drm_device *dev, int num_crtcs); | 1371 | extern int drm_vblank_init(struct drm_device *dev, int num_crtcs); |
| 1372 | extern int drm_wait_vblank(struct drm_device *dev, void *data, | 1372 | extern int drm_wait_vblank(struct drm_device *dev, void *data, |
| 1373 | struct drm_file *filp); | 1373 | struct drm_file *filp); |
| 1374 | extern int drm_vblank_wait(struct drm_device *dev, unsigned int *vbl_seq); | ||
| 1375 | extern u32 drm_vblank_count(struct drm_device *dev, int crtc); | 1374 | extern u32 drm_vblank_count(struct drm_device *dev, int crtc); |
| 1376 | extern u32 drm_vblank_count_and_time(struct drm_device *dev, int crtc, | 1375 | extern u32 drm_vblank_count_and_time(struct drm_device *dev, int crtc, |
| 1377 | struct timeval *vblanktime); | 1376 | struct timeval *vblanktime); |
| @@ -1491,10 +1490,6 @@ void drm_prime_destroy_file_private(struct drm_prime_file_private *prime_fpriv); | |||
| 1491 | int drm_prime_lookup_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf, uint32_t *handle); | 1490 | int drm_prime_lookup_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf, uint32_t *handle); |
| 1492 | void drm_prime_remove_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf); | 1491 | void drm_prime_remove_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf); |
| 1493 | 1492 | ||
| 1494 | int drm_prime_add_dma_buf(struct drm_device *dev, struct drm_gem_object *obj); | ||
| 1495 | int drm_prime_lookup_obj(struct drm_device *dev, struct dma_buf *buf, | ||
| 1496 | struct drm_gem_object **obj); | ||
| 1497 | |||
| 1498 | #if DRM_DEBUG_CODE | 1493 | #if DRM_DEBUG_CODE |
| 1499 | extern int drm_vma_info(struct seq_file *m, void *data); | 1494 | extern int drm_vma_info(struct seq_file *m, void *data); |
| 1500 | #endif | 1495 | #endif |
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 45f133228553..eb40a967fc65 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
| @@ -948,9 +948,6 @@ extern int drm_object_property_set_value(struct drm_mode_object *obj, | |||
| 948 | extern int drm_object_property_get_value(struct drm_mode_object *obj, | 948 | extern int drm_object_property_get_value(struct drm_mode_object *obj, |
| 949 | struct drm_property *property, | 949 | struct drm_property *property, |
| 950 | uint64_t *value); | 950 | uint64_t *value); |
| 951 | extern struct drm_display_mode *drm_crtc_mode_create(struct drm_device *dev); | ||
| 952 | extern void drm_framebuffer_set_object(struct drm_device *dev, | ||
| 953 | unsigned long handle); | ||
| 954 | extern int drm_framebuffer_init(struct drm_device *dev, | 951 | extern int drm_framebuffer_init(struct drm_device *dev, |
| 955 | struct drm_framebuffer *fb, | 952 | struct drm_framebuffer *fb, |
| 956 | const struct drm_framebuffer_funcs *funcs); | 953 | const struct drm_framebuffer_funcs *funcs); |
| @@ -961,10 +958,6 @@ extern void drm_framebuffer_reference(struct drm_framebuffer *fb); | |||
| 961 | extern void drm_framebuffer_remove(struct drm_framebuffer *fb); | 958 | extern void drm_framebuffer_remove(struct drm_framebuffer *fb); |
| 962 | extern void drm_framebuffer_cleanup(struct drm_framebuffer *fb); | 959 | extern void drm_framebuffer_cleanup(struct drm_framebuffer *fb); |
| 963 | extern void drm_framebuffer_unregister_private(struct drm_framebuffer *fb); | 960 | extern void drm_framebuffer_unregister_private(struct drm_framebuffer *fb); |
| 964 | extern int drmfb_probe(struct drm_device *dev, struct drm_crtc *crtc); | ||
| 965 | extern int drmfb_remove(struct drm_device *dev, struct drm_framebuffer *fb); | ||
| 966 | extern void drm_crtc_probe_connector_modes(struct drm_device *dev, int maxX, int maxY); | ||
| 967 | extern bool drm_crtc_in_use(struct drm_crtc *crtc); | ||
| 968 | 961 | ||
| 969 | extern void drm_object_attach_property(struct drm_mode_object *obj, | 962 | extern void drm_object_attach_property(struct drm_mode_object *obj, |
| 970 | struct drm_property *property, | 963 | struct drm_property *property, |
| @@ -1039,10 +1032,6 @@ extern int drm_mode_getblob_ioctl(struct drm_device *dev, | |||
| 1039 | void *data, struct drm_file *file_priv); | 1032 | void *data, struct drm_file *file_priv); |
| 1040 | extern int drm_mode_connector_property_set_ioctl(struct drm_device *dev, | 1033 | extern int drm_mode_connector_property_set_ioctl(struct drm_device *dev, |
| 1041 | void *data, struct drm_file *file_priv); | 1034 | void *data, struct drm_file *file_priv); |
| 1042 | extern int drm_mode_hotplug_ioctl(struct drm_device *dev, | ||
| 1043 | void *data, struct drm_file *file_priv); | ||
| 1044 | extern int drm_mode_replacefb(struct drm_device *dev, | ||
| 1045 | void *data, struct drm_file *file_priv); | ||
| 1046 | extern int drm_mode_getencoder(struct drm_device *dev, | 1035 | extern int drm_mode_getencoder(struct drm_device *dev, |
| 1047 | void *data, struct drm_file *file_priv); | 1036 | void *data, struct drm_file *file_priv); |
| 1048 | extern int drm_mode_gamma_get_ioctl(struct drm_device *dev, | 1037 | extern int drm_mode_gamma_get_ioctl(struct drm_device *dev, |
