aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorLespiau, Damien <damien.lespiau@intel.com>2013-08-19 19:53:03 -0400
committerDave Airlie <airlied@redhat.com>2013-08-20 22:47:13 -0400
commitf51607ac8d4d09b59faf7c6d718f413f537a7b34 (patch)
tree6c017c43cde026b856747fb781324cc2d0b6b741 /include/drm
parentf336ab76008f66f6153573d1479aeed388d7b08a (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.h5
-rw-r--r--include/drm/drm_crtc.h11
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);
1371extern int drm_vblank_init(struct drm_device *dev, int num_crtcs); 1371extern int drm_vblank_init(struct drm_device *dev, int num_crtcs);
1372extern int drm_wait_vblank(struct drm_device *dev, void *data, 1372extern int drm_wait_vblank(struct drm_device *dev, void *data,
1373 struct drm_file *filp); 1373 struct drm_file *filp);
1374extern int drm_vblank_wait(struct drm_device *dev, unsigned int *vbl_seq);
1375extern u32 drm_vblank_count(struct drm_device *dev, int crtc); 1374extern u32 drm_vblank_count(struct drm_device *dev, int crtc);
1376extern u32 drm_vblank_count_and_time(struct drm_device *dev, int crtc, 1375extern 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);
1491int drm_prime_lookup_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf, uint32_t *handle); 1490int drm_prime_lookup_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf, uint32_t *handle);
1492void drm_prime_remove_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf); 1491void drm_prime_remove_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf);
1493 1492
1494int drm_prime_add_dma_buf(struct drm_device *dev, struct drm_gem_object *obj);
1495int 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
1499extern int drm_vma_info(struct seq_file *m, void *data); 1494extern 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,
948extern int drm_object_property_get_value(struct drm_mode_object *obj, 948extern 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);
951extern struct drm_display_mode *drm_crtc_mode_create(struct drm_device *dev);
952extern void drm_framebuffer_set_object(struct drm_device *dev,
953 unsigned long handle);
954extern int drm_framebuffer_init(struct drm_device *dev, 951extern 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);
961extern void drm_framebuffer_remove(struct drm_framebuffer *fb); 958extern void drm_framebuffer_remove(struct drm_framebuffer *fb);
962extern void drm_framebuffer_cleanup(struct drm_framebuffer *fb); 959extern void drm_framebuffer_cleanup(struct drm_framebuffer *fb);
963extern void drm_framebuffer_unregister_private(struct drm_framebuffer *fb); 960extern void drm_framebuffer_unregister_private(struct drm_framebuffer *fb);
964extern int drmfb_probe(struct drm_device *dev, struct drm_crtc *crtc);
965extern int drmfb_remove(struct drm_device *dev, struct drm_framebuffer *fb);
966extern void drm_crtc_probe_connector_modes(struct drm_device *dev, int maxX, int maxY);
967extern bool drm_crtc_in_use(struct drm_crtc *crtc);
968 961
969extern void drm_object_attach_property(struct drm_mode_object *obj, 962extern 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);
1040extern int drm_mode_connector_property_set_ioctl(struct drm_device *dev, 1033extern 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);
1042extern int drm_mode_hotplug_ioctl(struct drm_device *dev,
1043 void *data, struct drm_file *file_priv);
1044extern int drm_mode_replacefb(struct drm_device *dev,
1045 void *data, struct drm_file *file_priv);
1046extern int drm_mode_getencoder(struct drm_device *dev, 1035extern int drm_mode_getencoder(struct drm_device *dev,
1047 void *data, struct drm_file *file_priv); 1036 void *data, struct drm_file *file_priv);
1048extern int drm_mode_gamma_get_ioctl(struct drm_device *dev, 1037extern int drm_mode_gamma_get_ioctl(struct drm_device *dev,